Features

Knowing phpdocx

phpdocx is a PHP library that allows you to create dynamically Microsoft Office Word documents (.docx). The available versions are Basic, Advanced and Premium, aimed to the generation of sophisticated Word documents.

The main characteristics of all available versions are summarized in the following table:

phpdocx type of license
Basic Advanced Premium
Per subdomain Per domain Per domain/IP

phpdocx VERSIONS

$399

33% Off on LUS*

Buy Now
$599

33% Off on LUS*

Buy Now
$999

33% Off on LUS*

Buy Now

* Discount on License Update Service (LUS) for License + LUS orders

Basic Advanced Premium
phpdocx type of license Per subdomain Per domain Per domain/IP
Use the same license for multiple domains (only for licenses tied to an IP).
Add headers, footers, comments, sections, table of contents, WordFragments and many other contents using custom HTML tags.
Change on the fly content styles of documents created from scratch.
Change on the fly content styles of templates.
DOCX and PDF files as stream
Optimize templates and DOCX
Load templates in memory
Merging in-memory DOCX
Serialize templates
HHVM support
Encryption
Sign
Replace contents
Remove sheets
Encryption
Sign
Replace contents
Remove slides
Added contents
WordFragments
Remove contents
Replace contents
Accept trackings
Reject trackings
DOCX and PDF password protection
DOCX and PDF encryption
Editable and protected regions
Sign DOCX documents
Sign PDF documents
Generate digests based on document contents.
Ethereum smart contract samples to be used with DOCX and PDF documents.
Batch processing
Package with PHP namespaces. Use phpdocx with Composer, Symfony 2, Drupal 8, Yii, Laravel and any other project, framework or CMS with PHP namespaces.
Conversion Plugin based on native PHP classes
Conversion Plugin based on LibreOffice
Conversion Plugin based on MS Word
Conversion Plugin based on OpenOffice
TOC transformation
PDF / A-1
Comments export
Form fields export
Word to HTML transformation with PHP native classes
Plugin support to transform Word to HTML
Word to PDF transformation with PHP native classes
Merging of multiple DOCX files
Text search and replacement
Text search and highlighting
Search and remove contents
Remove (sub)chapters
Watermarking
Indexer documents
Merging of multiple PDF files
Split PDF
Watermarking
Remove pages
Split DOCX files
Remove sections
Composer frameworks and projects (CakePHP, Laravel, Symfony, Yii...)
Module for Drupal 7
Module for Drupal 8
Extension for Joomla
Plugin for WordPress
Clone blocks
Clone elements
Extract contents
Insert elements
Move elements
Remove elements
Replace elements
Styles information
API (PHP API)
XMLAPI (XML API)
Count and print the number of pages, words, characters, paragraphs, lines, tables and images of a DOCX.
Transform HTML and CSS to Word
Word formatting via HTML + CSS with selectors
Standard text formatting
Complex paragraphs
External links
Page and line breaks
Widow/orphan control
Basic Lists
Nested lists
Footnotes & Endnotes
Cross-references
Text boxes
Advanced Word styles
Importing styles
UTF-8 encoding
WordML raw code insertion
Language properties
Customized bullets on lists (dot, square, circle)
Embedding of external RTF and DOCX documents
Insertion of external HTML and MHT files
DOCX2TEXT
Base templates
Use of external templates
Replacement of variables in templates
Generation of dynamical lists and tables on templates
Advanced management of template content (Blocks)
Insertion of DOCX, RTF, HTML and MHT documents on templates
Variable replacement in headers and footers
General design options
Headers and Footers
Advanced Headers and Footers
Import Headers and Footers from external file
Page numbering
Table of Contents
Sections
Word Macros
Text in Columns
Support for web forms
Basic tables
Advanced table formatting
jpg, gif, png
Scaling and resizing
Advanced formatting
Insertion of MHT files to add offline images in templates
Replacement of images in templates
2D basic graphs
2D advanced graphs
3D graphs
Shapes
OMML support
MathML support
Logger Warnings, errors, more info, debugging. Warnings, errors, more info, debugging. Warnings, errors, more info, debugging.