Finite State Machine¶
A finite state machine, also called FSM, also called a finite automaton, is a mathematical model used to design systems that can be in one of a finite number of states at any given time. The machine transitions between these states in response to inputs or events, following a set of rules.
See also Creating Finite State Machines in PHP 8.3 and Creating a State Machine using PHP.
Related packages : yohang/finite, sofa/state-machine