如何使用PHP在Word中创建与不同用户的下载链接

I am newbie on PHP, I don't know how to handle this. So I have a different user then when they click on the link, it will automatically change inside the docx with their name and download.

So this what I've got so far, str_replace(['[Recipient Name]'], ['My Name'], $word);

but I only got the inside the Word, and the design is not there anymore.

so when the logged user visit this mysite.com/downloadCertificate

it will pass his name then reedit the .docx, but what if there is many user download, it will always reedit the file? how to do just read the word then change the inside then create download link? how to do that?

for example: i have design like this

image