dasprid/enum
dasprid/enum brings type-safe, object-based enums to PHP. Define a fixed set of values with labels, comparisons, serialization and validation, reducing magic strings/ints and improving readability in domain models and configuration.
Architecture fit is poor for modern Laravel projects (Laravel 8+ requires PHP 8.0+), as PHP 8.1+ natively supports enums with seamless Eloquent integration. This package is redundant for current Laravel versions but may have been relevant for PHP 7.1–8.0 projects
How can I help you explore Laravel packages today?