Download the PHP package acacha/stateful-eloquent without Composer
On this page you can find all versions of the php package acacha/stateful-eloquent. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download acacha/stateful-eloquent
More information about acacha/stateful-eloquent
Files in acacha/stateful-eloquent
Download acacha/stateful-eloquent
More information about acacha/stateful-eloquent
Files in acacha/stateful-eloquent
Vendor acacha
Package stateful-eloquent
Short Description State machines for Eloquent classes
License MIT
Homepage https://github.com/mikerice/stateful-eloquent
Package stateful-eloquent
Short Description State machines for Eloquent classes
License MIT
Homepage https://github.com/mikerice/stateful-eloquent
Please rate this library. Is it a good library?
Informations about the package stateful-eloquent
Laravel 5 Eloquent State Machine
If you're familiar with my AASM, then this is a similar take – just implemented in Laravel 5 for Eloquent classes.
References
Forked from https://github.com/mikerice/stateful-eloquent
Installation
Step 1: Install Through Composer
Step 2: Add the Service Provider
Step 3: Update your Eloquent Model
Your models should use the Stateful trait and interface
Step 4: Create your Model States
Your models should have an array name $states
that define your model states.
Step 5: Create your Model State Transitions
Database configuration
You model migration should have a state field like:
Usage
All versions of stateful-eloquent with dependencies
PHP Build Version
Package Version
The package acacha/stateful-eloquent contains the following files
Loading the files please wait ....