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.
|
Package
|
Constraint
|
|---|---|
| illuminate/console | ^11.0 || ^12.0 || ^13.0 |
| illuminate/contracts | ^11.0 || ^12.0 || ^13.0 |
| illuminate/database | ^11.0 || ^12.0 || ^13.0 |
| illuminate/http | ^11.0 || ^12.0 || ^13.0 |
| illuminate/support | ^11.0 || ^12.0 || ^13.0 |
| spatie/enum | ^3.9 |
|
Package
|
Constraint
|
|---|---|
| fakerphp/faker | ^1.16 |
| mockery/mockery | ^1.4.0 |
| orchestra/testbench | ^9.0 || ^10.0 || ^11.0 |
| phpunit/phpunit | ^11.0 |
| vimeo/psalm | ^4.0 || ^5.0 || ^6.0 |
How can I help you explore Laravel packages today?