somnambulist/enumeration
Strongly-typed enumeration value objects for PHP and Laravel. Define constants once and get validation rules, Eloquent casting, instance comparison, and attribute access, plus helpers for safe construction. Ideal for modelling fixed sets such as statuses, types, and roles.
An enumeration implementation for PHP derived from eloquent/enumeration.
How can I help you explore Laravel packages today?