archtechx/enums
Helpers for making PHP enums more lovable.
v1.1.2
13M downloads/mo
#788 most downloaded on Packagist
archtechx/enums
What this package is like to depend on
Last release 1 years ago
06 Jun 2025
Ships fairly regularly
a new release about every 5 months
Most releases are documented
notes for 8 of 10 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
10 releases · first in 2022
0 releases in the last 12 months
see the full history below
Release timeline
10 releases · Feb 2022 to Jun 2025Releases
latest 10-
v1.1.206 Jun 2025Release notes
Open source →What's Changed
- Run test on PHP 8.4 L11 by @szepeviktor in #27
- General code cleanup by @xHeaven in #28
- Support PHPStan extension-installer by @hosmelq in #31
New Contributors
- @szepeviktor made their first contribution in #27
- @xHeaven made their first contribution in #28
- @hosmelq made their first contribution in #31
Full Changelog: v1.1.1...v1.1.2
-
v1.1.129 Oct 2024 -
v1.1.015 Jul 2024Release notes
Open source →What's Changed
- feat: Add support for default values on metadata properties by @owenconti in #23
New Contributors
- @owenconti made their first contribution in #23
Full Changelog: v1.0.1...v1.1.0
-
v1.0.128 Jan 2024Release notes
Open source → -
v1.0.012 Jan 2024Release notes
Open source →What's Changed
New features
stringOptions()(6684067, #12)- Comparable enums by @hungthai1401 in #20
CI changes
- Remove L8 & L9 from CI (done in #19 and #20)
- Run tests on all PHP 8 versions
- Update larastan dependency by @parth391 in #21
New Contributors
- @parth391 made their first contribution in #21
- @hungthai1401 made their first contribution in #20
Full Changelog: v0.3.2...v1.0.0
-
v0.3.215 Feb 2023Release notes
Open source →What's Changed
- Correct typo/error in README.md by @colinmackinlay in #16
- Add L10 support by @lukinovec in #18
New Contributors
- @colinmackinlay made their first contribution in #16
- @lukinovec made their first contribution in #18
Full Changelog: v0.3.1...v0.3.2
-
v0.3.124 Aug 2022 -
v0.3.029 Mar 2022Release notes
Open source →What's Changed
- use array_column() to get the names, values, and options by @ejunker in #3
- Extend functionality to work with pure enums by @samlev in #6
- Issue #4: Added
Fromtrait by @samlev in #7 - Metadata by @stancl in #8
New Contributors
- @ejunker made their first contribution in #3
- @samlev made their first contribution in #6
- @stancl made their first contribution in #8
Full Changelog: v0.2.0...v0.3.0
-
v0.2.020 Feb 2022Nothing published for this version
-
v0.1.020 Feb 2022Nothing published for this version