cyber-duck / pdfnet-php
PDFNetPHP Library generated by SWIG for PHP 5.6.30 for PDFTron.
Installs: 464
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 3
Open Issues: 0
pkg:composer/cyber-duck/pdfnet-php
Requires
- php: >=5.5.0
This package is auto-updated.
Last update: 2025-10-08 15:47:01 UTC
README
This file was automatically generated by SWIG following the guidelines from PDFTron/PDFNetWrappers.
PDFTron is a very powerful web-based PDF viewer.
PDFTron needs PDF files to be transformed into XOD files before being used for rendering.
This library can be used on the server side in order to transform PDF into XOD.
It has been generated for PHP 5.6.30 by using PDFTron/PDFNetWrappers
and will require PDFNetPHP.so PHP extension to be installed. Both the extension
PDFNetPHP.so and the library PDFNetPHP.php files can be generated or
re-generated following PDFTron/PDFNetWrappers
recommendations or the manual installation below.
## Manual installation
apt-get update && apt-get install -y swig cmake wget gitmkdir PDFNetPHPSetupcd PDFNetPHPSetup && wget https://github.com/PDFTron/PDFNetWrappers/archive/master.tar.gztar xzvf master.tar.gzcd PDFNetWrappers-master/PDFNetCwget http://www.pdftron.com/downloads/PDFNetC64.tar.gz && tar xzvf PDFNetC64.tar.gzmv PDFNetC64/Headers/ . && mv PDFNetC64/Lib/ .cd .. && mkdir Build && cd Buildcmake -D BUILD_PDFNetPHP=ON .. && make && make install
By then you should have both PDFNetPHP.php and PDFNetPHP.so generated under PDFNetPHPSetup/PDFNetWrappers-master/PDFNetC/Lib and the PDFNetPHP.so extension
should have been installed on your current PHP installation under a folder like
[...]/5.6.30/lib/php/extensions/no-debug-non-zts-20131226.