Skip to content

gridonic/PrinceXMLPhp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrinceXMLPhp

Build Status Latest Stable Version Total Downloads License

PrinceXML PHP5 wrapper, converted to follow PSR-0 conventions.

Fetch

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';

Usage

<?php
use PrinceXMLPhp\PrinceWrapper;

$prince = new PrinceWrapper('/path/to/prince/binary');

// for instance methods, see the original library documentation
// @see lib/readme.html

License

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.