made with Laravel

Laravel Enum

Enumeration Implementation for Laravel

Visit Site

Description

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 Optikey Use UUIDs or Ulids as keys
icon-eye-dark Created with Sketch. 384
Laravel Model Settings Model Settings for your Laravel app
icon-eye-dark Created with Sketch. 2.478
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 Mixins Collection of useful Helpers
icon-eye-dark Created with Sketch. 325
Laravel Mail Switcher Switch Email Providers when your free Credits run out
icon-eye-dark Created with Sketch. 210