made with Laravel

Laravel Enum

Simple, extensible and powerful enumeration implementation for Laravel

Visit Site

Description

Simple, extensible and powerful 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."


Creator

Ben Sampson
@bensampo


Social Media Links

Laravel Multiauth Multi & Admin Auth
icon-eye-dark Created with Sketch. 1.251
Laravel Initializer A convenient way to initialize your application
icon-eye-dark Created with Sketch. 858
Sentry for Laravel Laravel Error Monitoring
❤️ Sponsored by Friends
We’re hosting on Digital Ocean! 💙 Try it today and get a free $100 credit.
Laravel Localization Helper Easily add translation variables from Blade templates
icon-eye-dark Created with Sketch. 961
Eloquent Filter Filter data of models by query string
icon-eye-dark Created with Sketch. 500
COMMUNITY SPONSORS