PHP 8.5 compatibility available in SetaPDF 2.50.0.2246!2026-01-15
We hope you had a great start to the new year!
PHP 8.5 was released shortly before the end of the year. We are now following suit and releasing the new version 2.50 of all SetaPDF components to ensure compatibility. Our entire test suite is running smoothly and successfully 🥳!
In addition, various things have been optimized and corrected. You can find all further information in the release notes below.
Check the release notes of the components below.
Log in to download the latest version of the related packages!
Version 2.50.0.2246
Release date: 2026-01-15
| Filename | Download | Composer
[ ? Use following minimal composer.json file to install a package through Composer. |
Information |
|---|
SetaPDF-Core Component
Feature
- Added
Document::setXrefCompressionFilter()method to allow control over the compression filter of cross-reference streams. - Added
$compressionFilterparameter to constructor ofObjectStreamCompressorto allow control over the compression filter of object streams. - Added handling of
BrotliDecodefilter (This compression type will be included in the PDF specification in the near future). - Added support for wildcard (
*) operator inParser\Contentclass.
Bugfix
- Fixed compatibility with PHP 8.5.
Tweak
- Added
$forceparameter toPdfStream::setStream()to force e.g. compression if aFiltervalue was added to the stream dictionary. - Improved handling of recursive structures in all
ObjectCollectorclasses. - Collect font objects of XObjects (recursively) in
ObjectCollector\Fontsclass. - Harden data types by using
ensureType()calls and explicit data type checks.
Version 2.50.0.2246
Release date: 2026-01-15
| Filename | Download | Composer
[ ? Use following minimal composer.json file to install a package through Composer. |
Information |
|---|
SetaPDF-Extractor Component
Bugfix
- Fixed compatibility with PHP 8.5.
SetaPDF-Core Component
Feature
- Added
Document::setXrefCompressionFilter()method to allow control over the compression filter of cross-reference streams. - Added
$compressionFilterparameter to constructor ofObjectStreamCompressorto allow control over the compression filter of object streams. - Added handling of
BrotliDecodefilter (This compression type will be included in the PDF specification in the near future). - Added support for wildcard (
*) operator inParser\Contentclass.
Bugfix
- Fixed compatibility with PHP 8.5.
Tweak
- Added
$forceparameter toPdfStream::setStream()to force e.g. compression if aFiltervalue was added to the stream dictionary. - Improved handling of recursive structures in all
ObjectCollectorclasses. - Collect font objects of XObjects (recursively) in
ObjectCollector\Fontsclass. - Harden data types by using
ensureType()calls and explicit data type checks.
Version 2.50.0.2246
Release date: 2026-01-15
| Filename | Download | Composer
[ ? Use following minimal composer.json file to install a package through Composer. |
Information |
|---|
SetaPDF-FormFiller Full Component
Bugfix
- Fixed handling of fields in repeated master pages in static XFA forms.
- Fixed compatibility with PHP 8.5.
Tweak
- Prohibit warnings if invalid XML is passed to
DOMDocument::loadXML()in various situations inXFAclass. - Harden data types by using
ensureType()calls and explicit data type checks.
SetaPDF-Core Component
Feature
- Added
Document::setXrefCompressionFilter()method to allow control over the compression filter of cross-reference streams. - Added
$compressionFilterparameter to constructor ofObjectStreamCompressorto allow control over the compression filter of object streams. - Added handling of
BrotliDecodefilter (This compression type will be included in the PDF specification in the near future). - Added support for wildcard (
*) operator inParser\Contentclass.
Bugfix
- Fixed compatibility with PHP 8.5.
Tweak
- Added
$forceparameter toPdfStream::setStream()to force e.g. compression if aFiltervalue was added to the stream dictionary. - Improved handling of recursive structures in all
ObjectCollectorclasses. - Collect font objects of XObjects (recursively) in
ObjectCollector\Fontsclass. - Harden data types by using
ensureType()calls and explicit data type checks.
Version 2.50.0.2246
Release date: 2026-01-15
| Filename | Download | Composer
[ ? Use following minimal composer.json file to install a package through Composer. |
Information |
|---|
SetaPDF-FormFiller Lite Component
Bugfix
- Fixed handling of fields in repeated master pages in static XFA forms.
- Fixed compatibility with PHP 8.5.
Tweak
- Prohibit warnings if invalid XML is passed to
DOMDocument::loadXML()in various situations inXFAclass. - Harden data types by using
ensureType()calls and explicit data type checks.
SetaPDF-Core Component
Feature
- Added
Document::setXrefCompressionFilter()method to allow control over the compression filter of cross-reference streams. - Added
$compressionFilterparameter to constructor ofObjectStreamCompressorto allow control over the compression filter of object streams. - Added handling of
BrotliDecodefilter (This compression type will be included in the PDF specification in the near future). - Added support for wildcard (
*) operator inParser\Contentclass.
Bugfix
- Fixed compatibility with PHP 8.5.
Tweak
- Added
$forceparameter toPdfStream::setStream()to force e.g. compression if aFiltervalue was added to the stream dictionary. - Improved handling of recursive structures in all
ObjectCollectorclasses. - Collect font objects of XObjects (recursively) in
ObjectCollector\Fontsclass. - Harden data types by using
ensureType()calls and explicit data type checks.
Version 2.50.0.2246
Release date: 2026-01-15
| Filename | Download | Composer
[ ? Use following minimal composer.json file to install a package through Composer. |
Information |
|---|
SetaPDF-Merger Component
Bugfix
- Fixed compatibility with PHP 8.5.
SetaPDF-Core Component
Feature
- Added
Document::setXrefCompressionFilter()method to allow control over the compression filter of cross-reference streams. - Added
$compressionFilterparameter to constructor ofObjectStreamCompressorto allow control over the compression filter of object streams. - Added handling of
BrotliDecodefilter (This compression type will be included in the PDF specification in the near future). - Added support for wildcard (
*) operator inParser\Contentclass.
Bugfix
- Fixed compatibility with PHP 8.5.
Tweak
- Added
$forceparameter toPdfStream::setStream()to force e.g. compression if aFiltervalue was added to the stream dictionary. - Improved handling of recursive structures in all
ObjectCollectorclasses. - Collect font objects of XObjects (recursively) in
ObjectCollector\Fontsclass. - Harden data types by using
ensureType()calls and explicit data type checks.
Version 2.50.0.2246
Release date: 2026-01-15
| Filename | Download | Composer
[ ? Use following minimal composer.json file to install a package through Composer. |
Information |
|---|
SetaPDF-Signer Component
Feature
- Added
Signer\Ocsp\Response::getSingleResponse()method and return valueCertIdtoSigner\Ocsp\Request::add()method. - Added
(set|get)AllowTrustedIntermediateCertificatesWithoutVri()methods to allow intermediate CA certificates without validation related information inCollectorclass.
Bugfix
- Harden parsing of ASN.1 structure with invalid length.
- Fixed
SignatureField::getLock()method when a Fields array was defined. - Fixed compatibility with PHP 8.5.
Tweak
- Added internal handling of ML-DSA signature algorithm identifier in
Cmsclass.
SetaPDF-Core Component
Feature
- Added
Document::setXrefCompressionFilter()method to allow control over the compression filter of cross-reference streams. - Added
$compressionFilterparameter to constructor ofObjectStreamCompressorto allow control over the compression filter of object streams. - Added handling of
BrotliDecodefilter (This compression type will be included in the PDF specification in the near future). - Added support for wildcard (
*) operator inParser\Contentclass.
Bugfix
- Fixed compatibility with PHP 8.5.
Tweak
- Added
$forceparameter toPdfStream::setStream()to force e.g. compression if aFiltervalue was added to the stream dictionary. - Improved handling of recursive structures in all
ObjectCollectorclasses. - Collect font objects of XObjects (recursively) in
ObjectCollector\Fontsclass. - Harden data types by using
ensureType()calls and explicit data type checks.
Version 2.50.0.2246
Release date: 2026-01-15
| Filename | Download | Composer
[ ? Use following minimal composer.json file to install a package through Composer. |
Information |
|---|
SetaPDF-Stamper Component
Bugfix
- Fixed compatibility with PHP 8.5.
SetaPDF-Core Component
Feature
- Added
Document::setXrefCompressionFilter()method to allow control over the compression filter of cross-reference streams. - Added
$compressionFilterparameter to constructor ofObjectStreamCompressorto allow control over the compression filter of object streams. - Added handling of
BrotliDecodefilter (This compression type will be included in the PDF specification in the near future). - Added support for wildcard (
*) operator inParser\Contentclass.
Bugfix
- Fixed compatibility with PHP 8.5.
Tweak
- Added
$forceparameter toPdfStream::setStream()to force e.g. compression if aFiltervalue was added to the stream dictionary. - Improved handling of recursive structures in all
ObjectCollectorclasses. - Collect font objects of XObjects (recursively) in
ObjectCollector\Fontsclass. - Harden data types by using
ensureType()calls and explicit data type checks.
