Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/irishdan/pdftronbundle
A PDF processing bundle using PDFNet SDK and the PDFTron WebViewer
https://github.com/irishdan/pdftronbundle
pdfnet-sdk pdftron-webviewer php symfony-bundle
Last synced: 25 days ago
JSON representation
A PDF processing bundle using PDFNet SDK and the PDFTron WebViewer
- Host: GitHub
- URL: https://github.com/irishdan/pdftronbundle
- Owner: irishdan
- License: mit
- Created: 2016-12-10T20:58:38.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-01T20:17:35.000Z (about 7 years ago)
- Last Synced: 2024-08-20T08:38:02.129Z (3 months ago)
- Topics: pdfnet-sdk, pdftron-webviewer, php, symfony-bundle
- Language: PHP
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# PDFTron demo integration
This a bundle to demonstrate how to get [PDFTron](https://www.pdftron.com/) set up for symfony projects
using the [PDFNet SDK](http://www.pdftron.com/pdfnet/index.html) and the [PDFTron WebViewer](http://www.pdftron.com/webviewer/index.html)## Installation
- To run the bash installation script run:
sudo ./install_pdftron.sh### Manual Installation
- sudo apt-get install cmake
- sudo apt-get install swig
- git clone https://github.com/irishdan/PDFNetWrappers # Git the code.
- cd PDFNetWrappers/PDFNetC # Move to where we download PDFNet.
- wget http://www.pdftron.com/downloads/PDFNetC64.tar.gz # Download PDFNet.
- sudo tar xzvf PDFNetC64.tar.gz # sudo is better Unpack PDFNet.
- mv PDFNetC64/Headers/ . # Move PDFNet Headers/ into place.
- mv PDFNetC64/Lib/ . # Move PDFNet Lib/ into place.
- cd .. # Go back up.
- mkdir Build # Create a directory to create the Makefiles in.
- cd Build # Move to that directory.
- cmake -D BUILD_PDFNetPHP=ON .. # Create the Makefiles with CMake.
- make # Build the PHP wrappers with SWIG.
- sudo make install # Copy the PHP wrappers to suitable location
### PHP.ini
- At this point PDFNetPHP.so has been added to your php extensions directory.
But you need to add it to your php.ini