made with Laravel

Laravel Enum

Enumeration Implementation for Laravel

Visit Site


Enumeration Implementation for Laravel

"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."


Ben Sampson

Social Media Links

Laravel Bakery GraphQL Schema Generator
icon-eye-dark Created with Sketch. 1.134
Laravel Timezone Enable User Timezones
icon-eye-dark Created with Sketch. 736
Sentry for Laravel Laravel Application Monitoring
❤️ Sponsored by Friends
We’re hosting on Digital Ocean! 💙 Try it today and get a free $100 credit.
Laravel DB Redirector Manage redirects using database rules
icon-eye-dark Created with Sketch. 310
Lara Head SEO Setup
icon-eye-dark Created with Sketch. 1.004