dev-master
9999999-devPHP Wrapper for pdfinfo command
MIT
The Requires
The Development Requires
by Juan Fuentes
PHP Wrapper for pdfinfo command
Simple class to retrieve basic information from PDF file, (*1)
This class uses spatie/pdf-to-text and extends it to read metadata from a PDF file. It acts as a wrapper for pdfinfo command., (*2)
Be sure to check if pdfinfo is installed in your system before using this package, (*3)
You should use the pdfinfo class with composer, from command line:, (*4)
$ composer require jfuentestgn/pdfinfo
or declaring it in your project's composer.json file:, (*5)
{ "require": { "jfuentestgn/pdfinfo": "dev-master" } }
No config needed, (*6)
You can use the Pdf class in a similar way thay you would do with spatie's one:, (*7)
use JFuentesTgn\pdfinfo\Pdf; $info = (new Pdf())->setPdf('dummy.pdf')->info(); print_r($info);
or:, (*8)
$info = \JFuentesTgn\pdfinfo\Pdf::getInfo('dummy.pdf');
This package is maintained by Juan Fuentes. It's based on spatie/pdftotext., (*9)
This package is licensed under The MIT License (MIT)., (*10)
PHP Wrapper for pdfinfo command
MIT