Skip to content

Latest commit

 

History

History
executable file
·
44 lines (28 loc) · 901 Bytes

README.md

File metadata and controls

executable file
·
44 lines (28 loc) · 901 Bytes

flagshipcompany/fpdf

FORKED FROM hanneskod/fpdf

Composer Installation

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

Usage

    $laserPdf = new \Fpdf\FcsFpdf('P', 'in', [11, 8.5]);
    $laserPdf->SetMargins(1, 1);
    
    // ...

    // Concatenation: ----------------------

    $pdf = new \Fpdi\ConcatPdf();
    $pdf->setFiles($filePaths);
    $pdf->concat();

    // ....