FORKED FROM hanneskod/fpdf
- Includes functions to rotate text and images
- Concatenates PDF files
- Supports PDF > 1.4 by combining repositories: pauln/tcpdi_parser, pauln/tcpdi and tecnickcom/tcpdf
Add this to to your composer.json file:
"repositories": [
{
"type": "vcs",
"url": "git@github.com:flagshipcompany/fpdf"
}
]
then, require it:
composer require flagshipcompany/fpdf @dev
$laserPdf = new \Fpdf\FcsFpdf('P', 'in', [11, 8.5]);
$laserPdf->SetMargins(1, 1);
// ...
// Concatenation: ----------------------
$pdf = new \Fpdi\ConcatPdf();
$pdf->setFiles($filePaths);
$pdf->concat();
// ....