rguedes / pdfmerger
PDFMerger for PHP
Installs: 845 441
Dependents: 0
Suggesters: 0
Security: 0
Stars: 30
Watchers: 3
Forks: 32
Open Issues: 15
Requires
- php: >=5.2.0
This package is not auto-updated.
Last update: 2021-06-02 19:53:36 UTC
README
#PDFMerger for PHP (PHP 5/Laravel Compatible)
Original written by http://pdfmerger.codeplex.com/team/view port to PHP 5 by https://github.com/myokyawhtun/PDFMerger
Laravel Compatible
I have made some changes to make PHPMerger compatible for Laravel 4
Example Usage
$pdf = new \PDFMerger; $pdf->addPDF('samplepdfs/one.pdf', '1, 3, 4'); $pdf->addPDF('samplepdfs/two.pdf', '1-2'); $pdf->addPDF('samplepdfs/three.pdf', 'all'); $pdf->merge('file', 'samplepdfs/TEST2.pdf'); // REPLACE 'file' WITH 'browser', 'download', 'string', or 'file' for output options