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

Onboard Package to help track User Onboarding Steps
icon-eye-dark Created with Sketch. 1.063
Laravel Versionable ⏱️Make Laravel models versionable
icon-eye-dark Created with Sketch. 369
Sentry for Laravel Laravel Error Tracking
❤️ Sponsored by Friends
We’re hosting on Digital Ocean! 💙 Try it today and get a free $100 credit.
Laravel Initializer A convenient way to initialize your application
icon-eye-dark Created with Sketch. 474
Artify The Missing Laravel Commands
icon-eye-dark Created with Sketch. 847
COMMUNITY SPONSORS