Register Lost your password?

Choose the version that better suits your needs

PHPDOCX is offered as a free PHP library that allows you to create dynamically basic Microsoft Office Word documents (.docx) or as an enhanced Pro version that includes extra functionality and allows for more sophisticated formatting.

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

Features for Free and Pro version FREE Version PRO Version
TEMPLATES
Templates for mail merge/multiple documents      
Templates with Graphics and Pictures      
Dynamic Generation of lists and tables      
Multitext on templates      
Multiple variables on templates      
Advanced management of templates (text blocks)      
Retrieve variables given in a document      
Merge of HTML, RTF and .docx documents on templates      
TEXT Standard text formatting      
Formatted paragraphs    
External links     
Page breaks     
Widow/orphan control     
Lists     
Nested lists     
Footnotes     
Text boxes     
Text templates      
Text indenting with spaces and tabs      
Text with style      
Codification conversion to UTF8 for special characters inside PHPdocX      
XML Rawcode Free    
Custom Language for Documents Free    
Spacing control    
Customized bullets on list (dot, square, empty dot)    
Newlines support    
Embed RTF and docx document inside another document    
STRUCTURE General design options    
Headers    
Footers    
Advanced headers/footers    
Page numbering    
Table of Contents*    
Sectioning    
Word Macros    
Columns on a section    
Checkbox support    
TABLES Basic tables    
Advanced table formatting    
Custom styles    
IMAGES Jpg, gif, png    
Scaling and resizing    
Advanced formatting    
GRAPHS 2D basic graphs    
2D advanced graphs    
3D graphs    
Lines, shapes and figures    
MATH OMML support    
MathML support    
CONVERSION TOOLS PDF    
HTML    
DOC **    
DEBUGGING Unit testing    
Logger Free Only Logs warnings and errors Warnings, errors, more info, debugging.
HTML PARSER Formatting through a CSS file with specific selectors    
MULTIFORMATTING Create Paragraphs with different formats    
EXTRAS .docx documents on read mode      
Direct download trough browser      
Support for Race Conditions      
PHPversion check      

* If the TOC includes the numbering it has to be updated by the user to be fully functional or a macro has to be used.

** A running version of Word2007 or newer is needed in order to generate legacy versions of the document