NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #2136 most downloaded on Packagist
Laravel Enum support
Last release 6 months ago
18 Mar 2026
Release timing varies
gaps range from 4 weeks to 1.1 years
Nearly every release is documented
notes for 23 of 24 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
29 releases · first in 2019
Nothing published for this version
Laravel 12 support by @charlietennant in #112
Full Changelog: 3.1.0...3.2.0
Full Changelog: https://github.com/spatie/laravel-enum/compare/3.1.0...3.2.0
One column per quarter.
add optional wirable support to enums by @macbookandrew in #103
Full Changelog: 3.0.3...3.1.0
Full Changelog: https://github.com/spatie/laravel-enum/compare/3.0.3...3.1.0
Support Laravel 11 by @justinaskav in #104
Full Changelog: 3.0.2...3.0.3
Full Changelog: https://github.com/spatie/laravel-enum/compare/3.0.2...3.0.3
Add Laravel 10 support
Fix nested form data casting - #86
Full Changelog : 2.5.2...3.0.0
Full Changelog: 2.5.2...3.0.0
Full Changelog: https://github.com/spatie/laravel-enum/compare/2.5.2...3.0.0
fix :attribute replacement in \Spatie\Enum\Laravel\Rules\EnumRule::message() to respect custom attribute translations - #77
:attribute replacement in \Spatie\Enum\Laravel\Rules\EnumRule::message() to respect custom attribute translations - #77replaced deprecated make() call with from() - #74
add comma format to \Spatie\Enum\Laravel\Casts\EnumCollectionCast - #70
add implicit and explicit route binding - #65
Spatie\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.
accept enum instance in validation rule (Livewire) - #64
add customized enum stub logic - #58
migrate to base packages faker provider - spatie/enum#74
fix \Spatie\Enum\Laravel\Rules\EnumRule with invalid types passed in - #54
\Spatie\Enum\Laravel\Rules\EnumRule with invalid types passed in - #54upgrade spatie/enum to *v3* - spatie/enum#56
upgrade spatie/enum to v3 - spatie/enum#56
drop PHP support for 7.2 and 7.3
drop Laravel support for 5.8 and 6.0 and 7.0
drop several custom exceptions:
ExpectsArrayOfEnumsFieldInvalidEnumErrorNoSuchEnumFieldreplace HasEnums trait by custom casts and default laravel query builder logic
add custom casts EnumCast and EnumCollectionCast
reduce make:enum command to --method option - no value/label mapping or method name formatting any more
add Laravel focused base Enum class which implements Jsonable, Castable
drop enum_index|EnumIndexRule, enum_name|EnumNameRule and enum_value|EnumValueRule validation rules
add Faker provider to generate random enum instances, values and labels \Spatie\Enum\Laravel\Faker\FakerEnumProvider
Nothing published for this version
Nothing published for this version
- Support for Laravel 8
- add array of enums cast #43
add classname to make command output #41
- form request: Spatie\Enum\Laravel\Http\Requests\TransformsEnums
add request transformer #7
Spatie\Enum\Laravel\Http\Requests\TransformsEnumsSpatie\Enum\Laravel\Http\Middleware\TransformEnumsIlluminate\Http\Request::transformEnums()- add Laravel 7 support #34
- add enum validation rules #13
add nullable model attribute enum castings #25 / #29
require symfony/console with PHP7.4 compatible version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →