
Laravel Enum
Simple, extensible and powerful enumeration implementation for Laravel
Creator
Ben Sampson @bensampo
Description
Enums aren't natively supported in PHP but an equivalent is fairly easy to achieve using constants on a class. Furthermore, I've created a Laravel package which allows you access helper functions such as listing keys and values, attaching descriptions to values, and validating requests which are expecting enum values.Visit Site