Cookbook
- Learn phpdocx in 5 minutes
- Tutorial
- API quick guide
- HTML to Word
- HTML Extended
- Conversion plugin
- Word to HTML
- DOCXPath
- Bulk processing
- DOCXCustomizer
- Digital signature
- Cryptophpdocx
- Right to left languages
- phpdocx CLI command
- Tracking
- Artificial Intelligence
- Blockchain for documents
- JavaScript API
- Compiled mode
Integrate phpdocx with Zend Framework 1
- 1- Copy the content of the phpdocx package and paste it in the library/phpdocx directory.
- 2- Open the file index.php of the app and add to it the following lines after the require_once of Zend/Application.php:
With these two easy steps you are ready to work with phpdocx. As a practical example, let’s create a document in a controller and save it in the public directory with the name output.docx: