Announcement

Collapse
No announcement yet.

How to Create Word Document using PHP in Linux?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to Create Word Document using PHP in Linux?

    I need to create a word document in Linux environment using PHP. Please help me with the solution.

  • #2
    You can go with 2 options to create quality word documents. Either use COM to communicate with word (this requires a windows php server at least) or use openoffice and it's API to create and save documents in word format.

    Comment


    • #3
      How to Create Word Document using PHP in Linux?

      With PHPWord you can generate word documents in docx format. It can use an existing .docx file as a template. You can add template variables to the document in the format ${varname}.
      It has an LGPL license and the examples that came with the code work good.

      Comment

      Working...
      X