NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #3599 most downloaded on Packagist
A PHP Framework that allows you to encode and decode arbitrary ASN.1 structures using the ITU-T X.690 Encoding Rules.
Last release 9 months ago
06 Jan 2026
Ships fairly regularly
a new release about every 8 months
Most releases are documented
notes for 20 of 30 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
30 releases · first in 2015
* Support PHP 8.5
* Support PHP 8.4
Drop PHP 8.0, add support for PHP 8.3.
Drop PHP 8.0, add support for PHP 8.3.
One column per quarter.
Stricter content length in ASNObject
Stricter content length in ASNObject
Start maintaining this library, drop PHP 7.
Start maintaining this library, drop PHP 7.
PHP 8 compatibility fix for DateTime::getLastErrors #98
* Drop support for PHP 7.0 #89
Update build status badge
Update build status badge
#[\ReturnTypeWillChange] attributes for PHP 8.1 compatibility #87Allow creating an unsigned CSR and adding the signature later #82
Update CHANGELOG for 2.2.0, and back-fill CHANGELOG for 2.1.1 2.0.2
Update CHANGELOG for 2.2.0, and back-fill CHANGELOG for 2.1.1 2.0.2
phpseclib/bcmath_polyfill for servers unable
to install PHP the gmp or bcmath extensions.add stricter validation around some structures, highlighed by wycheproof test suite
add support for bcmath extension (making gmp optional) #68
bcmath extension (making gmp optional) #68Nothing published for this version
add .gitattributes file to prevent examples and tests to be installed via composer when --prefer-dist was set
rename FG\ASN1\Object to FG\ASN1\ASNObject because Object is a special class name in the next major PHP release
FG\ASN1\Object to FG\ASN1\ASNObject because Object is a special class name in the next major PHP release
use and extends statements as well as type hints and all
usages of Object::fromBinary(…).Nothing published for this version
Nothing published for this version
* allow empty octet strings
add keywords to composer.json (this is a version on its own so the keywords are found on a stable version at packagist.org)
fix a bug that would prevent you from decoding context specific tags on multiple objects #57
ExplicitlyTaggedObject::__construct does now accept multiple objects to be tagged with a single tagExplicitlyTaggedObject::getContent will now always return an array (even if only one object is tagged)fix a bug that would prevent you from decoding empty tagged objects #57
improve exception messages and general error handling #55
support big integers (closes #1 and #37)
FG\ASN1\Exception\GeneralException with \ExceptionConstruct (Sequence, Set) does now implement ArrayAccess, Countable and Iterator so its easier to useTemplateParser][11]Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →