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 Fly View Compile String Templates on the fly
icon-eye-dark Created with Sketch. 640
Laravel Slack Slash Command Make a Laravel app respond to a Slash command from Slack
icon-eye-dark Created with Sketch. 456
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 Disposable Email Disposable Email Address Validator
icon-eye-dark Created with Sketch. 869
Laravel EmojiOne Easily use Emojis from Joypixels / EmojiOne
icon-eye-dark Created with Sketch. 383