A Pdf Service Provider for Silex, based on ZendPdf library.
Installation is very easy, it makes use of Composer.
Run this in your command line:
$ curl -s http://getcomposer.org/installer | php
Or download composer.phar into the project root.
"require": {
"php": "> 5.3.3",
"erivello/pdf-service-provider": "dev-develop"
}
Run the following command:
$ php composer.phar install
Now PdfServiceProvider is installed into your vendor directory.
$app->register(new Erivello\Silex\PdfServiceProvider());
You can access the PdfServiceProvider by calling $app['pdf.generator']
.
$ php composer.phar install && phpunit
The PdfServiceProvider is licensed under the MIT license.