PHP Module
All DynaPDF versions can be used with PHP 7 or higher. The PHP extension is a class module, therefore all methods and constants are bound to the class dynapdf. There are no global constants or functions that may conflict with other extensions. With very few exceptions all DynaPDF functions are available in the PHP extension.
The PHP extension is delivered with source codes so that own functions can be added if necessary. In addition to the normal DynaPDF functions a table class is available too. This class simplifies especially the creation of invoices and other tabular content.
The default encoding for text and file paths is Unicode (UTF-8) but it is also possible to use 8 bit code pages.
The installation on a web server is very easy: Copy the dynapdf.so or php_dynapdf.dll into an arbitrary directory that is accessible for PHP. This path must be set in the PHP.ini at extension_dir, e.g.:
extension_dir=/yourdomain.com/php_modules/dynapdf.so.
The PHP scripting language underwent significant revisions in version 8. Most notably, the use of NULL is no longer permitted. However, the necessary changes for the PHP module are minimal, as the integer value 0 can simply be passed instead of the NULL constant.
Existing code can therefore be ported relatively easily, as only NULL needs to be replaced with 0. No other changes are required.