markbaker/enumhelper
A lightweight PHP helper for native enums, offering convenient methods for listing cases, names and values and converting enums into arrays or options for forms, validation and select inputs.
markbaker/enumhelper is a lightweight PHP utility that adds convenient helper methods for working with PHP 8.1+ enums. It simplifies common enum tasks—such as listing cases, validating values, and converting between names and backed values—so you can avoid repetitive boilerplate in your applications.
How can I help you explore Laravel packages today?