gridonic / prince-service-provider
A PrinceXML ServiceProvider for Silex.
v2.0.1
2016-10-09 07:55 UTC
Requires
- gridonic/princexml-php: *
- silex/silex: ~2.0
Requires (Dev)
- phpunit/phpunit: ^4
This package is not auto-updated.
Last update: 2024-10-26 13:59:53 UTC
README
A PrinceXML ServiceProvider for Silex.
Requirements
This ServiceProvider works with the PrinceXML PHP wrapper provided by YesLogic Pty. Ltd. and depends on the executable distributed on the product website. Internally, it uses a PSR-0 conform wrapper distributed as a composer package.
Installation
The recommended way to install PrinceServiceProvider is through composer.
composer require gridonic/prince-service-provider
Usage
<?php $app->register(new PrinceServiceProvider, array( 'prince.binary' => '/usr/local/bin/prince' )); $app['prince']->convert_file($xmlPath, $msgs = array());
For more information about the prince library, please read the documentation provided in the original PHP wrapper distribution.