spatie/laravel-enum
Laravel integration for spatie/enum: use Enum base class in Laravel, cast model attributes to enums (including nullable and arrays), and get Laravel-friendly behavior via custom casts and Castable support for Eloquent.
Full Changelog: https://github.com/spatie/laravel-enum/compare/3.1.0...3.2.0
Full Changelog: https://github.com/spatie/laravel-enum/compare/3.0.3...3.1.0
Full Changelog: https://github.com/spatie/laravel-enum/compare/3.0.2...3.0.3
Full Changelog: https://github.com/spatie/laravel-enum/compare/2.5.2...3.0.0
:attribute replacement in \Spatie\Enum\Laravel\Rules\EnumRule::message() to respect custom attribute translations - #77Spatie\Enum\Laravel\Http\Middleware\TransformEnums middleware in favor of route bindingWarning: the dropped
TransformEnumsmiddleware was unusable - but if you've found a way to use it in your project this release will be breaking and you will have to switch to form requests or route binding.
\Spatie\Enum\Laravel\Rules\EnumRule with invalid types passed in - #547.2 and 7.35.8 and 6.0 and 7.0ExpectsArrayOfEnumsFieldInvalidEnumErrorNoSuchEnumFieldHasEnums trait by custom casts and default laravel query builder logicEnumCast and EnumCollectionCastmake:enum command to --method option - no value/label mapping or method name formatting any moreEnum class which implements Jsonable, Castableenum_index|EnumIndexRule, enum_name|EnumNameRule and enum_value|EnumValueRule validation rules\Spatie\Enum\Laravel\Faker\FakerEnumProviderRC4 of v2 #44
RC2 of v2 - https://github.com/spatie/laravel-enum/pull/44
Spatie\Enum\Laravel\Http\Requests\TransformsEnumsSpatie\Enum\Laravel\Http\Middleware\TransformEnumsIlluminate\Http\Request::transformEnums()#16 , #19
#4 , #12
How can I help you explore Laravel packages today?