NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1955 most downloaded on Packagist
Laravel Enum support
Latest stable
3.3.0
Last release 8 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
8 years old
29 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Laravel 12 support by @charlietennant in https://github.com/spatie/laravel-enum/pull/112
Full Changelog: https://github.com/spatie/laravel-enum/compare/3.1.0...3.2.0
add optional wirable support to enums by @macbookandrew in https://github.com/spatie/laravel-enum/pull/103
Full Changelog: https://github.com/spatie/laravel-enum/compare/3.0.3...3.1.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Support Laravel 11 by @justinaskav in https://github.com/spatie/laravel-enum/pull/104
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: https://github.com/spatie/laravel-enum/compare/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
7.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\FakerEnumProviderNothing published for this version
RC2 of v2 - https://github.com/spatie/laravel-enum/pull/44
RC2 of v2 - https://github.com/spatie/laravel-enum/pull/44
- 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
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
One column per quarter.