News
phpdocx 17.5 release notes
- Feb 17, 2026
We are glad to announce the release of phpdocx 17.5.
This release brings major performance improvements, new features, and many improvements to make document generation faster and more efficient than ever.Just go to Pricing to get the license that best suits your project requirements.
Users with a valid License Update Service (LUS) may get this new version at no cost, by going to MY PHPDOCX and selecting the licence(s) they want to update.
Users with previous versions can also upgrade to the new one in the same place.
Also, we encourage you to get LUS, if you don't already have it, in order to get the next releases for free, plus other benefits, for a whole year.
The complete list features of phpdocx 17.5 is the following:
- Performance:
- New chunk mode to drastically improve performance and reduce memory usage when adding tables and lists (Premium licenses).
- Reduced default memory usage when generating documents from scratch and from templates.
- Optimized WordFragments processing.
- Improved parse mode performance.
- New method to add barcode fields.
- Structured Document Tags:
- text option: adds text content to richText and text types without adding a placeholder.
- wordFragment option: Multiple contents can be added to the same structured document tag by inserting WordFragments with the richText type.
- parseLineBreaks option: parses and inserts line breaks in richText and text types.
- PDFUtilities (Advanced and Premium licenses):
- New setPdfInformation method to set creator, author, title, subject, and keywords metadata in a PDF.
- replacePlaceholderImage supports replacing and adding hyperlinks and bookmarks.
- addImage supports adding bookmarks as hyperlinks.
- Parse mode:
- New internal algorithm for faster and more accurate parsing.
- Improved variable repair when template symbols are added as regular content in the same paragraph containing the same characters.
- New default regular expression: [^\s](.+)[^\s] to avoid parsing strings that contain template symbols with a space immediately before or after them.
- Prevent empty variable names from being returned.
- HTML to DOCX:
- Removed a PHP Warning when adding invalid tables and @ (shut-up) operator is disabled.
- Added an additional check to prevent duplicate define calls.
- HTML Extended (Premium licenses):
- HTML Extended tags: phpdocx_barcode.
- Normalized highlight dark and light color values when using data-highlight.
- Normalized em values when using data-em.
- Improved replaceChartData (Advanced and Premium licenses):
- Sheet names are now obtained dynamically to support source sheet names in different languages.
- Added the excludeExternalData option to remove the internal external XLSX relationship.
- Conversion plugin based on LibreOffice (Advanced and Premium licenses):
- Added "--headless" to all conversions.
- DOCXCustomizer (Premium licenses):
- Improved handling of complex script font size styles.
- Indexer (Advanced and Premium licenses)
- Added support for parsing style IDs, names, and types.
- SignDOCX, SignXLSX and SignPPTX (Premium licenses)
- Private key and certificate values now support both file paths and string values.
- SignPDFPlus (Premium licenses)
- Implemented XRefStm handling.
- Added additional checks when working with malformed PDF files.
- Added new methods and options to phpdocx CLI command (Premium licenses).
- Added a static getter function for stream mode (Premium licenses).
- Use mb_strlen to parse template symbols when repairing variables and retrieving template variables, with fallback to strlen if mb_strlen is not available.
- Removed the AIGPT class.
- Added extra checks when adding watermarks with watermarkDocx and when removing existing watermarks in DOCX (Advanced and Premium licenses).
- Added an extra check to prevent duplicate define calls in the Phpdocx_config.php class.
- Merge DOCX methods use an empty array as the default options parameter (Advanced and Premium licenses).
- Applied the PHP htmlspecialchars function to convert protected XML characters when using the hyperlink option in addImage and when enabling the raw option in replaceVariableByText.
- Removed a PHP 8.5 deprecation notice when adding PNG images with empty content.
- Fixed and improved the internal phpdoc documentation.