Code Monkey home page Code Monkey logo

pdfnet-php's Introduction

PDFTron - PDFNetPHP Library generated by SWIG for PHP 5.6.30

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 git
  • mkdir PDFNetPHPSetup
  • cd PDFNetPHPSetup && wget https://github.com/PDFTron/PDFNetWrappers/archive/master.tar.gz
  • tar xzvf master.tar.gz
  • cd PDFNetWrappers-master/PDFNetC
  • wget http://www.pdftron.com/downloads/PDFNetC64.tar.gz && tar xzvf PDFNetC64.tar.gz
  • mv PDFNetC64/Headers/ . && mv PDFNetC64/Lib/ .
  • cd .. && mkdir Build && cd Build
  • cmake -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.

pdfnet-php's People

Contributors

clemblanco avatar worzy avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

jaga321 reddeath1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.