There was an error while loading. Please reload this page.
2b7840f
Now the EnumStateMachine class is more flexible and not only works with Eloquent but can be implemented in any PHP class.
EnumStateMachine
Thanks to @l3aro.