iainp999/state-machine

Very simple state machine


Keywords
state machine
License
MIT

Documentation

StateMachine

Very simple state machine implementation.

Define a set of transitions as part of an 'engine' and then use that engine to drive the behaviour of one or more state machines.

See example.php for usage.