News
phpdocx 17 release notes
- Sep 09, 2025
We are pleased to announce the release of phpdocx 17. This release comes with powerful new features to help you create stunning, fully customized documents faster and easier than ever. Save time, reduce effort, and supercharge your workflow.
Go to Pricing to select the license that best meets your project needs.
Users with a valid License Update Service (LUS) can get this new version at no cost on MY PHPDOCX.
Users of previous versions can easily upgrade to the latest release on the same page.
If you don't already have LUS, we encourage you to get it to enjoy free upgrades and other benefits for an entire year.
The complete list of features in phpdocx 17 is as follows:
- Themes (Premium licenses):
- Apply theme options to contents.
- Import a theme from an external DOCX.
- Customize theme styles using DOCXCustomizer.
- Extract information with Indexer.
- PHP 8.5 support.
- Add phonetic guides using ruby contents: addRuby.
- Insert index: addIndex (Advanced and Premium licenses).
- Mark index entries to be inserted in index: markEntry (Advanced and Premium licenses).
- Get the document statistics based on the native conversion plugin (Advanced and Premium licenses).
- vAlign option to set page vertical alignment with addSection and modifyPageLayout methods.
- HTML to DOCX:
- Improved adding alpha color styles.
- Supported #rgba format to apply colors.
- Improved adding images with encoded characters in file names.
- Improved performance when adding local file images without setting a baseURL.
- Extra check to avoid a PHP Warning when adding local images and SVG, and @ (shut-up) operator is disabled.
- HTML Extended (Premium licenses):
- HTML Extended tags: phpdocx_footersection, phpdocx_headersection, phpdocx_ruby.
- List overrides support multiple sublevels.
- Native DOCX to HTML (Advanced and Premium licenses):
- Ruby tags.
- Improved transforming HTML tables with fixed widths.
- Apply "word-wrap: break-word" to td tags automatically.
- Cast values to float in the default transformSizes method.
- Cast size values to int when transforming text boxes.
- Native DOCX to PDF (Advanced and Premium licenses):
- Improved transforming HTML tables with fixed widths.
- Apply "word-wrap: break-word" to td tags automatically.
- Cast values to float in the default transformSizes method.
- JavaScript API (Premium licenses):
- Renamed to jsdocumentsdocx.
- Merge DOCX documents (Advanced and Premium licenses):
- Blip images embedded in numberings.
- Options in mergeDocxAt to regenerate the order of the merged document: reorderSections and reorderSectionsRemoveFirstSection.
- Extra check to prevent merging non-existent numbering style IDs referenced in contents or styles.
- wordFragmentOptions option to apply replacement types to WordFragment values with replaceListVariable and replaceTableVariable methods (Premium licenses).
- DOCXPath (Advanced and Premium licenses):
- occurrence option allows setting an array.
- Improved working with header and footer targets when the document include sections without headers or footers.
- getAsParagraphs option in getWordContents to handle text contents as individual paragraphs.
- Options to add floating tables with addTable: horzAnchor, vertAnchor, tblpXSpec, tblpYSpec.
- Indexer (Advanced and Premium licenses):
- Extract theme information.
- Get link rels from comments, footnotes and endnotes.
- linksContents option to get URL and text content from hyperlinks.
- Avoid returning empty text contents.
- Apply row (trPr) styles with createTableStyle: cantSplit option.
- pStyle option in captions.
- Tracking (Premium licenses):
- occurrence option allows setting an array.
- DOCXCustomizer (Premium licenses):
- theme target.
- vAlign option in section type.
- rStyle option in run type.
- occurrence option allows setting an array.
- Improved working with header and footer targets when the document include sections without headers or footers.
- docxSettings allows applying custom settings in compat tags.
- Drupal 11 module: new module to use phpdocx with Drupal 11 (Advanced and Premium licenses).
- SignPDF and SignPDFPlus (Premium licenses):
- Private key and certificate values support file and string values.
- New exceptions if private key or certificate are not valid.
- Set "docx" as the default internal extension when using DOCXStructure object as template.
- New DOCX code templates ready to use (Advanced and Premium licenses).
- Use the standard MathML namespace (xmlns="http://www.w3.org/1998/Math/MathML") as default when using transformOMMLToMathML and TransformDocAdvHTML.
- Corrections in the internal phpdoc documentation.