NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #4296 most downloaded on Packagist
An enumeration implementation for PHP.
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
15 years old
17 releases · first in 2012
[BC BREAK] Dropped support for PHP < 7.1.
One column per quarter.
[IMPROVED] Use static in docblocks for better IDE hints ( #20 ) (thanks @Bilge ).
[NEW] Implemented memberOrNullBy() and variants
memberOrNullBy() and variants[MAINTENANCE] General repository maintenance
Enumeration -> AbstractEnumeration
Multiton -> AbstractMultitonEnumeration -> AbstractEnumerationLogicException, but insteadException class.AbstractValueMultiton, an an abstract base class forAbstractEnumeration now extends fromAbstractUndefinedMemeberException, an abstract baseUndefinedMemberException now extends from this base class.AbstractMultiton instances implement MultitonInterface.AbstractValueMultiton instances implement ValueMultitonInterface.AbstractEnumeration instances implement EnumerationInterface.membersBy() and membersByPredicate() which help to[BC BREAK] Multiton method name changes:
Multiton method name changes:
multitonInstances -> membersinstanceByKey -> memberByKeyinstanceBy -> memberByinstanceByPredicate -> memberByPredicateinitializeMultiton -> initializeMembersregisterMultiton -> registerMembercreateUndefinedInstanceException -> createUndefinedMemberExceptionEnumeration method name changes:
instanceByValue -> memberByValueUndefinedInstanceException -> UndefinedMemberExceptionUndefinedInstanceExceptionInterface -> UndefinedMemberExceptionInterfaceMultiton method name changes:
multitonInstances -> membersinstanceByKey -> memberByKeyinstanceBy -> memberByinstanceByPredicate -> memberByPredicateinitializeMultiton -> initializeMembersregisterMultiton -> registerMembercreateUndefinedInstanceException -> createUndefinedMemberExceptionEnumeration method name changes:
instanceByValue -> memberByValueUndefinedInstanceException -> UndefinedMemberExceptionUndefinedInstanceExceptionInterface -> UndefinedMemberExceptionInterface[NEW] Archer integration [NEW] Implemented changelog
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
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 →