PackageTrack
Sign in Get early access

genkgo/php-asn1

A PHP Framework that allows you to encode and decode arbitrary ASN.1 structures using the ITU-T X.690 Encoding Rules.

v2.9.0 911K downloads/mo #3495 most downloaded on Packagist genkgo/php-asn1

What this package is like to depend on

Last release 7 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

1 release in the last 12 months

see the full history below

Release timeline

30 releases · Feb 2015 to Jan 2026
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 30
  1. v2.9.0 06 Jan 2026
    Release notes
    • Support PHP 8.5
    Open source →
  2. v2.8.0 12 Feb 2025
    Release notes
    • Support PHP 8.4
    Open source →
  3. v2.7.0 29 Apr 2024
    Release notes

    Drop PHP 8.0, add support for PHP 8.3.

    Open source →
  4. v2.6.1 29 Apr 2024
    Release notes

    Stricter content length in ASNObject

    Open source →
    Release notes
    • Stricter content length in ASNObject
    Open source →
  5. v2.6.0 03 Apr 2023
    Release notes

    Start maintaining this library, drop PHP 7.

    Open source →
    Release notes
    Open source →
  6. v2.5.0 19 Dec 2022
    Release notes
    • Support PHP 8.2 #99
    • PHP 8 compatibility fix for DateTime::getLastErrors #98
    • Support more OIDs #95
    • FINAL RELEASE. Library is now no longer actively maintained and marked as archived on GitHub
    Open source →
  7. v2.4.0 11 Dec 2021
    Release notes
    • Drop support for PHP 7.0 #89
    Open source →
  8. v2.3.1 09 Dec 2021
    Release notes

    Update build status badge

    Open source →
    Release notes
    • Add #[\ReturnTypeWillChange] attributes for PHP 8.1 compatibility #87
    Open source →
  9. v2.3.0 24 Apr 2021
    Release notes
    • Allow creating an unsigned CSR and adding the signature later #82
    Open source →
  10. v2.2.0 11 Oct 2020
    Release notes

    Update CHANGELOG for 2.2.0, and back-fill CHANGELOG for 2.1.1 2.0.2

    Open source →
    Release notes
    • support polyfills for bcmath and gmp, and add a composer.json suggestion for the phpseclib/bcmath_polyfill for servers unable to install PHP the gmp or bcmath extensions.
    Open source →
  11. v2.1.1 02 Dec 2018
    Release notes
    • add stricter validation around some structures, highlighed by wycheproof test suite
    Open source →
  12. 2.1.0 31 Mar 2018
    Release notes
    • add support for bcmath extension (making gmp optional) #68
    Open source →
  13. v2.0.2 02 Dec 2018

    Nothing published for this version

  14. 2.0.1 17 Dec 2017
    Release notes
    • add .gitattributes file to prevent examples and tests to be installed via composer when --prefer-dist was set
    Open source →
  15. 2.0.0 17 Sep 2017
    Release notes
    • rename FG\ASN1\Object to FG\ASN1\ASNObject because Object is a special class name in the next major PHP release
      • when you upgrade you have to adapt all corresponding use and extends statements as well as type hints and all usages of Object::fromBinary(…).
    • generally drop PHP 5.6 support
    Open source →
  16. v1.5.4 02 Dec 2018

    Nothing published for this version

  17. 1.5.3 17 Dec 2017

    Nothing published for this version

  18. 1.5.2 29 Oct 2016
    Release notes
    • allow empty octet strings
    Open source →
  19. 1.5.1 02 Oct 2015
    Release notes
    • add keywords to composer.json (this is a version on its own so the keywords are found on a stable version at packagist.org)
    Open source →
  20. 1.5.0 30 Sep 2015
    Release notes
    • 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 tag
      • ExplicitlyTaggedObject::getContent will now always return an array (even if only one object is tagged)
    Open source →
  21. 1.4.2 29 Sep 2015
    Release notes
    • fix a bug that would prevent you from decoding empty tagged objects #57
    Open source →
  22. 1.4.1 15 Sep 2015
    Release notes
    • improve exception messages and general error handling [#55](https ://github.com/fgrosse/PHPASN1/pull/55)
    Open source →
  23. 1.4.0 17 Aug 2015
    Release notes
    • require PHP 5.6
    • support big integers (closes #1 and #37)
    • enforce one code style via [styleci.io][9]
    • track code coverage via [coveralls.io][10]
    • replace obsolete FG\ASN1\Exception\GeneralException with \Exception
    • Construct (Sequence, Set) does now implement ArrayAccess, Countable and Iterator so its easier to use
    • add [TemplateParser][11]
    Open source →
  24. 1.3.2 15 Jul 2015

    Nothing published for this version

  25. 1.3.1 28 Apr 2015

    Nothing published for this version

  26. 1.3.0 28 Apr 2015

    Nothing published for this version

  27. 1.2.0 05 Apr 2015

    Nothing published for this version

  28. 1.1.0 14 Feb 2015

    Nothing published for this version

  29. 1.0.0 03 Feb 2015

    Nothing published for this version

  30. 0.9.0 03 Feb 2015

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive