PrinceXML PHP5 wrapper, converted to follow PSR-0 conventions.
The recommended way to install PrinceXMLPhp is through composer.
Just create a composer.json file for your project:
{
"require": {
"gridonic/princexml-php": "*"
}
}
And run these two commands to install it:
$ wget http://getcomposer.org/composer.phar
$ php composer.phar install
Now you can add the autoloader, and you will have access to the library:
<?php
require 'vendor/autoload.php';
<?php
use PrinceXMLPhp\PrinceWrapper;
$prince = new PrinceWrapper('/path/to/prince/binary');
// for instance methods, see the original library documentation
// @see lib/readme.html
The PrinceXMLPhp wrapper is licensed under the MIT license. The original library from is taken from the Prince Website and subject to the license by YesLogic Pty. Ltd. A Github repository for the original library can be found at https://github.com/yeslogic/prince-tools.