Phoca PDF version 6.1.0 Beta is now available for testing. The primary technical update in this release is a complete refactoring of the internal TCPDF class structure.
Key Change: TCPDF Refactoring & Composer Integration
Previously, TCPDF relied on a monolithic, single-file class structure (tcpdf.php). In version 6.1.0, this legacy approach has been removed. TCPDF is now split into modern, modular sub-libraries loaded via Composer autoloading.
This shift directly affects how dependencies, environments, and fonts are distributed:
Development environment: ~200 MB
Web environment (core and free fonts): ~17 MB
Web environment (core fonts only): ~9 MB
Even after stripping out all unnecessary files and development dependencies, the resulting Phoca PDF installation package is twice as large as before due to the new Composer dependency structure.
To prevent the package size from growing even further, non-core fonts are no longer included in the main ZIP file and must be added separately if needed.
Because the rendering engine and class loading mechanism have been completely rewritten under the hood, thorough testing across various server environments is required.
Download:
- Phoca PDF component download site
- Phoca PDF content plugin download site
- Phoca PDF system plugin download site
- Phoca PDF Phoca Cart plugin download site
Phoca PDF system plugin has not been changed, version 5 can be used
Font Installation Procedure
Standard core PDF fonts remain built-in. If your setup requires custom or extra fonts:
Download TCPDF Font Package and extract this font package.
Upload all required font files (including their folders) to:
administrator/components/com_phocapdf/vendor/tecnickcom/tc-lib-pdf-font/target/fonts/
Place files into an appropriate sub-folder (e.g., freefont/).
⚠️ Note: Do not use the core/ directory, which is reserved strictly for built-in standard fonts.
Testing should focus primarily on standard Joomla articles, as well as Phoca Cart (e.g., PDF invoices) and other extension integrations.
If you find any bug or you have some feature request idea, please post it to Phoca Forum. Thank you.
