gearbox-solutions/enum-converter-laravel
Laravel package for converting PHP enums to and from database and JSON values. Provides convenient helpers and casts so enum-backed Eloquent attributes stay consistent across models, queries, and API responses.
Enum Converter for Laravel provides a lightweight bridge between native PHP enums and the values Laravel applications exchange—request input, database columns, and API responses. It keeps enum handling consistent across your models and validation layers, letting you work with typed enum instances instead of raw scalars.
How can I help you explore Laravel packages today?