Skip to content

czproject/pdf-rotate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PdfRotate

Build Status Downloads this Month Latest Stable Version License

Rotate PDF documents from PHP.

Donate

Installation

Download a latest package or use Composer:

composer require czproject/pdf-rotate

CzProject\PdfRotate requires PHP 8.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/

About

Rotation of PDF pages in PHP

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages