etools / pdf
A PHP code to work with pdf
This package's canonical repository appears to be gone and the package has been frozen as a result.
dev-master
2016-12-14 16:22 UTC
Requires
- php: >=5.3.3
- phpunit/phpunit: ^5.0
- setasign/fpdi-fpdf: 1.5.4
This package is not auto-updated.
Last update: 2021-12-19 23:58:39 UTC
README
- Compress pdf
- Convert Pdf to JPG
- Convert JPG to PDF
Properties
$pdfTools = new PdfTools(PATH); $file = $pdfTools->compress(90, true);
//Split pdf $pdfTools = new PdfTools(PATH); $pdfTools->split(3);
//Convert PDF to Image $pdfTools = new PdfTools(PATH); $file = $pdfTools->convertPdfToJpg(90);
//Convert image to PDF $pdfTools = new PdfTools(PATH); $file = $pdfTools->convertImageToPdf();