eloquent/enumeration
Eloquent Enumeration brings typed enum support to Laravel’s Eloquent models. Define reusable enums, cast attributes to enum instances, and keep status or type fields type-safe and expressive without leaving familiar Eloquent conventions.
Executives: This is a low-strategic-value, archived PHP enum package. It can help describe legacy domain states, but it should not anchor new roadmap investment. Treat it as technical debt to contain and migrate, not a platform to standardize on.
Engineering: Use it only as a legacy compatibility aid. Inventory existing usage, avoid expanding its surface area, and replace it with PHP 8.1+ native backed enums plus Eloquent casts where possible. Add characterization tests before migration so status values, persistence, and API contracts remain stable.
Product management: Do not fund new features that deepen dependency on this package. Fund a small, bounded migration if it already exists in critical flows; otherwise prefer native language features and active dependencies.
How can I help you explore Laravel packages today?