Download the PHP package tecnickcom/tc-lib-pdf-page without Composer
On this page you can find all versions of the php package tecnickcom/tc-lib-pdf-page. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tecnickcom/tc-lib-pdf-page
More information about tecnickcom/tc-lib-pdf-page
Files in tecnickcom/tc-lib-pdf-page
Package tc-lib-pdf-page
Short Description PHP library containing PDF page formats and definitions
License LGPL-3.0-or-later
Homepage https://tcpdf.org
Informations about the package tc-lib-pdf-page
tc-lib-pdf-page
PHP library to define and render PDF pages.
💖 Part of the tc-lib-pdf / TCPDF ecosystem (100M+ installs). Sponsor its maintenance →
Overview
tc-lib-pdf-page keeps the page stack of a PDF document and outputs the page
tree, the page objects and the content streams.
| Namespace | \Com\Tecnick\Pdf\Page |
| Author | Nicola Asuni [email protected] |
| License | GNU LGPL v3 - see LICENSE |
| API docs | https://tcpdf.org/docs/srcdoc/tc-lib-pdf-page |
| Packagist | https://packagist.org/packages/tecnickcom/tc-lib-pdf-page |
Features
Page geometry
- Named page formats (ISO, ANSI, JIS, envelopes, photographic and other series) and custom sizes
- Portrait, landscape and size-derived orientation
- Conversion between points, millimeters, centimeters and inches
- MediaBox, CropBox, BleedBox, TrimBox and ArtBox, each with its BoxColorInfo guidelines
- Page, header, content and footer margins, with mirrored gutters in booklet mode
- Writable regions: equal columns, or rectangles computed around no-write areas
Page stack
- Add, clone, move, delete and select pages, grouped for per-group numbering
- Page content stack with marks, and
~#PN/~#PTpage number aliases - Annotation references, rotation, preferred zoom and page transitions
- Per-page transparency group policy, disabled in PDF/A mode
- PDF output with optional Flate compression and encryption
Enums
Unit,Orientation,PageBoxType,PageLayout,PageDisplayMode,TransparencyGroupMode
Requirements
- PHP 8.2 or later
- Extension:
zlib - Composer
Installation
Quick Start
add() returns the sanitized page data, including the page boxes in points, the
normalized margins and the writable regions. getPdfPages() returns the PDF
objects of the whole stack and advances $pon past the last object number used.
Development
Packaging
For system packages, bootstrap with:
Contributing
Contributions are welcome. Please review SECURITY.md.
All versions of tc-lib-pdf-page with dependencies
ext-zlib Version *
tecnickcom/tc-lib-color Version ^3.0
tecnickcom/tc-lib-pdf-encrypt Version ^2.12