PackageTrack
Sign in Get early access

myclabs/php-enum

PHP Enum implementation

1.8.5 241M downloads/mo #408 most downloaded on Packagist myclabs/php-enum

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Release timing varies

gaps range from 2 weeks to 2.4 years

Some releases are documented

notes for 10 of 35 stable releases

Nothing withdrawn

no release was ever pulled

13 years old

35 releases · first in 2013

0 releases in the last 12 months

see the full history below

Release timeline

35 releases · Mar 2013 to Jan 2025
2014 2016 2018 2020 2022 2024 2026
Release Pre-release

Releases

latest 35
  1. 1.8.5 14 Jan 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 1.8.4...1.8.5

    Open source →
  2. 1.8.4 04 Aug 2022
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 1.8.3...1.8.4

    Open source →
  3. 1.8.3 05 Jul 2021
    Release notes

    #147 Fix Psalm annotation

    Open source →
  4. 1.8.2 04 Jul 2021
    Release notes

    #146 Fix Psalm annotation

    Open source →
  5. 1.8.1 29 Jun 2021
    Release notes

    Resolve deprecation on PHP 8.1 #145

    Open source →
  6. 1.8.0 15 Feb 2021
    Release notes

    Added:

    • new Enum::from() method as an alternative to the constructor that is more strictly typed, and provides a forward compatible solution with PHP 8.1 enums
    • new Enum::assertValidValue() to assert that a value is correct

    Psalm annotations have been improved as well.

    Thanks @drealecs, @Ocramius, @michaelpetri, @gharlan, @simPod

    Open source →
  7. 1.7.7 14 Nov 2020
    Release notes

    #129 Performance improvement

    Open source →
  8. 1.7.6 14 Feb 2020
    Release notes

    Avoid conflicts with Doctrine Annotations by renaming the Psalm @template annotation into @psalm-template.

    Open source →
  9. 1.7.5 13 Feb 2020
    Release notes

    #112 Improved Psalm typing

    Open source →
  10. 1.7.4 07 Feb 2020
    Release notes

    Psalm has been moved to require-dev ;)

    Open source →
  11. 1.7.3 07 Feb 2020

    Nothing published for this version

  12. 1.7.2 19 Aug 2019

    Nothing published for this version

  13. 1.7.1 05 May 2019

    Nothing published for this version

  14. 1.7.0 23 Apr 2019

    Nothing published for this version

  15. 1.6.6 04 Feb 2019

    Nothing published for this version

  16. 1.6.5 04 Feb 2019

    Nothing published for this version

  17. 1.6.4 30 Oct 2018

    Nothing published for this version

  18. 1.6.3 27 Oct 2018

    Nothing published for this version

  19. 1.6.2 01 Aug 2018

    Nothing published for this version

  20. 1.6.1 09 May 2018

    Nothing published for this version

  21. 1.6.0 07 May 2018

    Nothing published for this version

  22. 1.5.2 28 Jun 2017

    Nothing published for this version

  23. 1.5.1 26 Mar 2017

    Nothing published for this version

  24. 1.5.0 09 Oct 2016

    Nothing published for this version

  25. 1.4.2 01 Aug 2016

    Nothing published for this version

  26. 1.4.1 22 Jul 2015

    Nothing published for this version

  27. 1.4.0 19 May 2015

    Nothing published for this version

  28. 1.3.2 15 Feb 2015

    Nothing published for this version

  29. 1.3.1 03 Feb 2015

    Nothing published for this version

  30. 1.3.0 30 Jan 2015

    Nothing published for this version

  31. 1.2.1 11 Nov 2013

    Nothing published for this version

  32. 1.2.0 24 Jul 2013

    Nothing published for this version

  33. 1.1.0 20 Mar 2013

    Nothing published for this version

  34. 1.0.1 19 Mar 2013

    Nothing published for this version

  35. 1.0.0 19 Mar 2013

    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