chadsikorra/php-simple-enum
A lightweight, dependency-free enum implementation for PHP. Define constant sets with helper methods for validation, value lookup, and comparison, useful where native enums aren't available. Simple API that's easy to drop into existing projects.
Rule::enum, model casts, and custom flag helpers. For legacy stacks, use this package behind an internal adapter to reduce lock-in.How can I help you explore Laravel packages today?