spatie/enum
Obsolete: PHP 8.1+ has native enums (recommended). Spatie Enum provides strongly typed, object-based enums for older PHP versions, enabling IDE-friendly static analysis and refactoring. Define enums via @method annotations and call StatusEnum::draft().
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| bitbag/sylius-feed-plugin | — | 0 | 0 | 1 | 0 | 0 | 0.7 | — | MIT | 1 year ago | |
| 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. | 365 | 368 | 36 | 118K | 0 | 11.3 | 34.7 | MIT | 1 year ago | |
| spatie/laravel-health | Monitor your Laravel app’s health by registering configurable checks (disk space, queues, cache, etc.). Get warnings or failures and receive notifications via mail or Slack, with an easy API for adding custom checks and reporting status. | 871 | 880 | 178 | 616K | 0 | 40.5 | 46.3 | MIT | 1 week ago | |
| spatie/laravel-options | Generate unified select option lists in Laravel from enums, Eloquent models, states, and arrays. Spatie laravel-options converts sources to a consistent label/value structure, supports customization via config, and makes building dropdowns and filters faster and cleaner. | 251 | 254 | 9 | 16K | 0 | 22.3 | 28.8 | MIT | 1 month ago | |
| spatie/laravel-validation-rules | Handy Laravel validation rules by Spatie: Authorized (policy checks), CountryCode, Currency, Enum, ModelsExist, and Delimited. Installs via Composer, auto-registers, and supports publishing translations for customization. | 825 | 833 | 45 | 117K | 0 | 29.2 | 33.8 | MIT | 3 months ago | |
| spatie/one-package-to-rule-them-all | Pulls in all Spatie packages at once so you don’t have to require them individually. Install via Composer, optionally publish the config, and get the full Spatie “magic” in one go for your Laravel app. | 60 | 60 | 6 | 0 | 0 | 0.8 | — | MIT | 5 years ago |
How can I help you explore Laravel packages today?