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
Cookbook
Easy recipes to achieve specific, common or unusual tasks
The phpdocx Cookbook is a knowledge base with articles that explain how to handle many different tasks and that will save you lots of time. These recipes cover some usual tasks so you won't need to code them from scratch or specific, unusual ones that maybe you didn't know you could do with phpdocx.
Integrating phpdocx
- Integrate phpdocx with CakePHP
- Integrate phpdocx with CodeIgniter
- Integrate phpdocx with Composer projects
- Integrate phpdocx with Drupal 7
- Integrate phpdocx with Drupal 8, Drupal 9 and Drupal 10
- Integrate phpdocx with Joomla
- Integrate phpdocx with Laravel
- Integrate phpdocx with Slim
- Integrate phpdocx with Symfony
- Integrate phpdocx with WordPress
- Integrate phpdocx with Yii
- Integrate phpdocx with Zend Framework 1
- Integrate phpdocx with Zend Framework 2
- phpdocx in a single PHAR file
Performance
- Improve performance when working with templates
- Improve phpdocx performance
- In-memory DOCX documents
Convert document formats
- Change default styles when importing HTML
- Convert PDF files to DOCX
- Insert images with HTML
- Preview documents in a web browser
- Tips to convert HTML to Word
- Transform document formats
- WYSIWYG DOCX editor
Contents
- Add contents to different document types
- Add watermarks and background images
- Generate different headers and footers for multiple sections
- Standardize the size of images added to documents
- Working with headings using PHP methods and HTML contents
- Working with Table of Contents
Templates
- Change the base template and its default styles
- Good practices when working with templates
- Keep placeholder font size and other styles when replacing a placeholder by HTML
- Remove template placeholders
- Replace placeholders in targets
Blocks
Others
- Compatibility mode
- Corrupted DOCX
- Download the generated DOCX
- Generate DOCX with fillable forms
- Good practices when working with fonts
- Logger and error reporting level
- Merge documents
- Merge anywhere in documents
- Minimum installation of phpdocx
- Namespaces in phpdocx
- Parse huge DOCX contents
- Protecting DOCX and PDF documents
- Repair PDF documents
- Setting phpdocxconfig.ini with PHP code
- Word units of measure
- Working with accents and other non-ASCII UTF8 characters