Download the PHP package fcarbah/pdfmerger without Composer
On this page you can find all versions of the php package fcarbah/pdfmerger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package pdfmerger
PDFMerger for PHP (PHP 5 & 7 Compatible)
Uses Setasign/FPDI-FPDF https://github.com/Setasign/FPDI-FPDF
To install add this line to your composer.json
or
Example Usage
use Fcarbah\Classes\PdfMerger;
use Fcarbah\Classes\Orientation;
use Fcarbah\Classes\OutputFormat;
$pdf = new PdfMerger();
$pdf->addPdf('samplepdfs/one.pdf', '1, 3, 4');
$pdf->addPdf('samplepdfs/two.pdf', '1-2');
$pdf->addPdf('samplepdfs/three.pdf', 'all');
//You can optionally specify a different orientation for each PDF
$pdf->addPdf('samplepdfs/one.pdf', '1, 3, 4', Orientation::POTRAIT);
$pdf->addPdf('samplepdfs/two.pdf', '1-2', Orientation::LANDSCAPE);
$pdf->merge(OutPutFormat::STRING, 'samplepdfs/TEST2.pdf', Orientation::POTRAIT);
// This will be used for every PDF that doesn't have an orientation specified
All versions of pdfmerger with dependencies
PHP Build Version
Package Version
Requires
setasign/fpdi-fpdf Version
^2.2
The package fcarbah/pdfmerger contains the following files
Loading the files please wait ....