Download the PHP package hyn/state-machine without Composer
On this page you can find all versions of the php package hyn/state-machine. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download hyn/state-machine
More information about hyn/state-machine
Files in hyn/state-machine
Download hyn/state-machine
More information about hyn/state-machine
Files in hyn/state-machine
Vendor hyn
Package state-machine
Short Description Flexible state machine library that perfectly works with Laravels Eloquent models.
License mit
Package state-machine
Short Description Flexible state machine library that perfectly works with Laravels Eloquent models.
License mit
Please rate this library. Is it a good library?
Informations about the package state-machine
State machine
The state machine is a flexible library that helps you move Eloquent models from States through Transitions while emitting events along the way.
Example
Let's say we have a Cat, who does two things, being
- Asleep and
- Awake
In order to become Awake from his initial state being Asleep, the cat has to
- WakeUp
Now if we look at the state machine definition we can see the above is perfectly mapped out.
Installation
Read more about installation and configuration on state-machine.readme.io.
Tests
Run the tests with:
All versions of state-machine with dependencies
PHP Build Version
Package Version
The package hyn/state-machine contains the following files
Loading the files please wait ....