NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #732 most downloaded on Packagist
Helpers for making PHP enums more lovable.
Latest stable
v1.1.2
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
Drag across the ruler to compare, or tap a release to open it.
Run test on PHP 8.4 L11 by @szepeviktor in https://github.com/archtechx/enums/pull/27
Full Changelog: https://github.com/archtechx/enums/compare/v1.1.1...v1.1.2
Fix PHP 8.4 deprecation for type declaration for default null value by @ejunker in https://github.com/archtechx/enums/pull/25
Full Changelog: https://github.com/archtechx/enums/compare/v1.1.0...v1.1.1
Your coding agent can read these notes before it upgrades. Set up the MCP server →
feat: Add support for default values on metadata properties by @owenconti in https://github.com/archtechx/enums/pull/23
Full Changelog: https://github.com/archtechx/enums/compare/v1.0.1...v1.1.0
Support UPPER_SNAKE_CASE and PascalCase in stringOptions() (resolve https://github.com/archtechx/enums/issues/22) https://github.com/archtechx/enums/c
Comparable enums by @hungthai1401 in https://github.com/archtechx/enums/pull/20
stringOptions() (https://github.com/archtechx/enums/commit/6684067b9efd41d81f3cf048576a70af1b947c0a, #12)Full Changelog: https://github.com/archtechx/enums/compare/v0.3.2...v1.0.0
Correct typo/error in README.md by @colinmackinlay in https://github.com/archtechx/enums/pull/16
Full Changelog: https://github.com/archtechx/enums/compare/v0.3.1...v0.3.2
Added "Invokable Cases" PHPStan extension by @samlev in https://github.com/archtechx/enums/pull/13
Full Changelog: https://github.com/archtechx/enums/compare/v0.3.0...v0.3.1
use array_column() to get the names, values, and options by @ejunker in https://github.com/archtechx/enums/pull/3
From trait by @samlev in https://github.com/archtechx/enums/pull/7Full Changelog: https://github.com/archtechx/enums/compare/v0.2.0...v0.3.0
Nothing published for this version
Nothing published for this version
One column per quarter.