Download the PHP package moirei/laravel-state without Composer
On this page you can find all versions of the php package moirei/laravel-state. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-state
Laravel State
Like many things in Laravel, managing model states should be a breeze.
There has been a few solutions before the advent of PHP Enums, hwoever, this package is an attempt at what managing strict state in Laravel should feel like.
Documentation
All documentation is available at the documentation site.
Features
- Strictly defined states and trasitions
- PHP Enums support 💪
- Cast state to and from multiple attributes
Basic Example
Now transition states
With PHP Enum
With state object
Installation
Tests
All versions of laravel-state with dependencies
PHP Build Version
Package Version
The package moirei/laravel-state contains the following files
Loading the files please wait ...