This utility provides a simple yet effective Finite State Machine implementation, which allows the definition of discrete states, and the valid transitions to other states available from any given state, and the actions which trigger the transitions.
A mechanism is provided for defining the entire state machine in XML and having a fully populated StateMachine injected into the PureMVC app.
Currently, only a MultiCore version is included.
The demo is located here: https://github.com/PureMVC/puremvc-php-util-statemachine/wiki
It was ported to PHP by Michel Chouinard.