0

We are currently using a custom solution for parsing Word document templates which replaces Word content control fields (text fields, check boxes, etc.) with custom values.

We would like to accomplish this with PHPWord, but it looks like the only type of placeholders it supports are strings like ${placeholder_name}.

The closest existing post I can find refers to Mail Merge and isn't promising: Is PHPWord suitable for direct mail?

  • 1
    Hi, you should probably describe a more concrete need, and what you have tried to fulfill this need. For example : since PHPWord claims to be able to generate almost any file content, I would be tempted to answer "yes it can do it". Can you try to reformulate your question, in a format more suitable to Stackoverflow Q&A ? see [SO guidelines to good questions](https://stackoverflow.com/help/how-to-ask) – LeGEC Jun 26 '20 at 22:56
  • btw : it's a "ouiche" – LeGEC Jun 26 '20 at 22:56
  • Thank you for the feedback, @LeGEC! I've updated my post after reviewing the link you posted. – totallyquiche Jun 27 '20 at 18:24

0 Answers0