czproject / pdf-rotate
Rotation of PDF pages.
Fund package maintenance!
Other
Installs: 35 031
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 3
Forks: 2
Open Issues: 1
Requires
- php: >=5.3.0
- setasign/fpdi-fpdf: ^2.0
This package is auto-updated.
Last update: 2024-11-29 14:23:23 UTC
README
Rotate PDF documents from PHP.
Installation
Download a latest package or use Composer:
composer require czproject/pdf-rotate
CzProject\PdfRotate
requires PHP 5.3.0 or later.
Usage
use CzProject\PdfRotate\PdfRotate; $pdf = new PdfRotate; $sourceFile = '/path/to/source.pdf'; $outputFile = '/path/to/output.pdf'; $pdf->rotatePdf($sourceFile, $outputFile, $pdf::DEGREES_90);
License: New BSD License
Author: Jan Pecha, https://www.janpecha.cz/