PackageTrack
Sign in Get early access

eloquent/enumeration

Abandoned by its maintainers. An enumeration implementation for PHP.

6.0.0 6.0M downloads/mo #4001 most downloaded on Packagist eloquent/enumeration

What this package is like to depend on

Last release 8 years ago

no release in 18 months

Ships unpredictably

gaps range from 3 weeks to 3.1 years

Some releases are documented

notes for 7 of 17 stable releases

Nothing withdrawn

no release was ever pulled

14 years old

17 releases · first in 2012

0 releases in the last 12 months

see the full history below

Release timeline

16 releases · Mar 2012 to Nov 2018
2013 2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 17
  1. 6.0.0 22 Nov 2018
    Release notes
    • [BC BREAK] Dropped support for PHP < 7.1.
    • [IMPROVED] Support for non-public enumeration constants (#24, #26) (thanks @Bilge).
    Open source →
    Release notes
    • [BC BREAK] Dropped support for PHP < 7.1.
    • [IMPROVED] Support for non-public enumeration constants (#24, #26) (thanks [@Bilge]).
    Open source →
  2. 5.1.1 03 Nov 2015
    Release notes
    • [IMPROVED] Use static in docblocks for better IDE hints (#20) (thanks
      @Bilge).
    • [MAINTENANCE] General repository maintenance
    Open source →
    Release notes
    • [IMPROVED] Use static in docblocks for better IDE hints (#20) (thanks @Bilge).
    • [MAINTENANCE] General repository maintenance
    Open source →
  3. 5.1.0 13 Mar 2014
    Release notes
    • [NEW] Implemented memberOrNullBy() and variants
    Open source →
    Release notes
    • [NEW] Implemented memberOrNullBy() and variants
    Open source →
  4. 5.0.1 29 Jan 2014
    Release notes
    • [MAINTENANCE] General repository maintenance
    Open source →
    Release notes
    • [MAINTENANCE] General repository maintenance
    Open source →
  5. 5.0.0 11 Nov 2013
    Release notes
    • [BC BREAK] Renamed classes:
      • Multiton -> AbstractMultiton
      • Enumeration -> AbstractEnumeration
    • [BC BREAK] Exceptions no longer extend LogicException, but instead
      directly extend from the base Exception class.
    • [NEW] Implemented AbstractValueMultiton, an an abstract base class for
      implementing multitons with values. AbstractEnumeration now extends from
      this base class.
    • [NEW] Implemented AbstractUndefinedMemeberException, an abstract base
      class for implementing custom undefined member exceptions.
      UndefinedMemberException now extends from this base class.
    • [NEW] Multiton instances now implement formal interfaces:
      • AbstractMultiton instances implement MultitonInterface.
      • AbstractValueMultiton instances implement ValueMultitonInterface.
      • AbstractEnumeration instances implement EnumerationInterface.
    • [NEW] Implemented membersBy() and membersByPredicate() which help to
      retrieve sets of members by various criteria.
    Open source →
    Release notes
    • [BC BREAK] Renamed classes:
      • Multiton -> AbstractMultiton
      • Enumeration -> AbstractEnumeration
    • [BC BREAK] Exceptions no longer extend LogicException, but instead directly extend from the base Exception class.
    • [NEW] Implemented AbstractValueMultiton, an an abstract base class for implementing multitons with values. AbstractEnumeration now extends from this base class.
    • [NEW] Implemented AbstractUndefinedMemeberException, an abstract base class for implementing custom undefined member exceptions. UndefinedMemberException now extends from this base class.
    • [NEW] Multiton instances now implement formal interfaces:
      • AbstractMultiton instances implement MultitonInterface.
      • AbstractValueMultiton instances implement ValueMultitonInterface.
      • AbstractEnumeration instances implement EnumerationInterface
    • [NEW] Implemented membersBy() and membersByPredicate() which help to retrieve sets of members by various criteria.
    Open source →
  6. 4.0.0 13 Aug 2013
    Release notes
    • [BC BREAK] Multiton method name changes:
      • multitonInstances -> members
      • instanceByKey -> memberByKey
      • instanceBy -> memberBy
      • instanceByPredicate -> memberByPredicate
      • initializeMultiton -> initializeMembers
      • registerMultiton -> registerMember
      • createUndefinedInstanceException -> createUndefinedMemberException
    • [BC BREAK] Enumeration method name changes:
      • instanceByValue -> memberByValue
    • [BC BREAK] Renamed classes:
      • UndefinedInstanceException -> UndefinedMemberException
      • UndefinedInstanceExceptionInterface -> UndefinedMemberExceptionInterface
    • [NEW] Case insensitive options for member search methods
    • [NEW] Defaulting variants of member search methods
    • [MAINTENANCE] General repository maintenance
    Open source →
    Release notes
    • [BC BREAK] Multiton method name changes:
      • multitonInstances -> members
      • instanceByKey -> memberByKey
      • instanceBy -> memberBy
      • instanceByPredicate -> memberByPredicate
      • initializeMultiton -> initializeMembers
      • registerMultiton -> registerMember
      • createUndefinedInstanceException -> createUndefinedMemberException
    • [BC BREAK] Enumeration method name changes:
      • instanceByValue -> memberByValue
    • [BC BREAK] Renamed classes:
      • UndefinedInstanceException -> UndefinedMemberException
      • UndefinedInstanceExceptionInterface -> UndefinedMemberExceptionInterface
    • [NEW] Case insensitive options for member search methods
    • [NEW] Defaulting variants of member search methods
    • [MAINTENANCE] General repository maintenance
    Open source →
  7. 3.0.2 04 Mar 2013
    Release notes
    • [NEW] Archer integration
    • [NEW] Implemented changelog
    Open source →
    Release notes
    • [NEW] Archer integration
    • [NEW] Implemented changelog
    Open source →
  8. 3.0.1 21 Aug 2012

    Nothing published for this version

  9. 3.0.0 21 Aug 2012

    Nothing published for this version

  10. 2.1.2 02 Aug 2012

    Nothing published for this version

  11. 2.1.1 02 Aug 2012

    Nothing published for this version

  12. 2.1.0 31 Jul 2012

    Nothing published for this version

  13. 2.0.1 04 Jul 2012

    Nothing published for this version

  14. 2.0.0 04 Jul 2012

    Nothing published for this version

  15. 1.0.0 02 May 2012

    Nothing published for this version

  16. 0.2.0 no date

    Nothing published for this version

  17. 0.1.0 24 Mar 2012

    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