Skip to content
Michael edited this page Apr 6, 2015 · 12 revisions

A Finite State Machine (FSM) implementation for PHP.

You can use this library for creating:

  • DFA - Deterministic Finite Automaton
  • NFA - Nondeterministic Finite Automaton

Installation

You can find the library in packagist here.

The latest stable release is v1.0.1.

{
  "require": {
    "michcald/fsm": "1.0.*"
  }
}

Components

[The Stateful Entity](The Stateful Entity)

[The Model](The Model)

[The Validator](The Validator)

[The Accessor](The Accessor)

Other

Customization

Examples

You can find working examples in the examples folder.