Download the PHP package signerphp/pdf-core without Composer
On this page you can find all versions of the php package signerphp/pdf-core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download signerphp/pdf-core
More information about signerphp/pdf-core
Files in signerphp/pdf-core
Package pdf-core
Short Description Standalone PDF parsing, manipulation and incremental serialization library
License MIT
Homepage https://github.com/SignerPHP/pdf-core
Informations about the package pdf-core
signerphp/pdf-core
Standalone PHP library for PDF parsing, object manipulation and incremental serialization. Requires PHP 8.2+, zlib, fileinfo and ctype. It has no dependency on Signer PHP, OpenSSL, certificates, signing providers or timestamp services.
PDF signing lives in the sibling package signerphp/pdf-signer, which depends on this library.
The example assumes an existing indirect Info dictionary. Use createObject() and a PDFValueReference to add one when absent. Explicitly register modified objects with addObject(). For another update, parse the serialized output again; a document retains its original input buffer and pending objects.
Scope
PDF objects/values, streams and object streams, trailers, classic and stream xrefs, incremental revisions, page information, image/XObject rendering, AcroForm signature fields, signature dictionaries, reserved Contents/ByteRange layout, and DocMDP dictionary assembly. SignatureObject only represents PDF bytes: it does not produce or validate a cryptographic signature. SubFilter names are PDF dictionary values, not implementations of those protocols.
SignatureObjectAssembler::assemble() accepts an optional integer DocMDP permission (1, 2 or 3). AppearanceXObject holds PDF stream operators and resources. DocumentTimestampObject represents a PDF dictionary only; no network or token processing exists here.
Development with Docker Compose
This package builds and tests with only its own directory mounted. Its test fixtures do not require Signer PHP. Consumers such as signerphp/pdf-signer install it from Packagist.
Known inherited limitations
- Classic xrefs, xref streams, object streams,
/Prevand hybrid/XRefStmsection merging are supported. A hybrid trailer’s/XRefStmis treated as a supplement to that classic table (table entries win on conflict); revision history still comes from/Prev. - Regex-based structural inspection is diagnostic, not authoritative parsing.
- Inline AcroForm/Perms handling, generation serialization and fixed xref entry widths need separate review.
- FormMDP can be represented using PDF dictionaries but has no dedicated builder yet.
- Legacy Producer text and compatibility value methods are retained to preserve output.
MIT licensed; extracted from Signer PHP by Jeidison Farias.
All versions of pdf-core with dependencies
ext-zlib Version *
ext-fileinfo Version *
ext-ctype Version *