gridonic/princexml-php

PrinceXML PHP5 wrapper converted to follow the PSR-0 standard.

1.2.1 2017-04-20 09:36 UTC

This package is not auto-updated.

Last update: 2024-11-09 14:40:02 UTC


README

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.