kphoen/doctrine-state-machine

Doctrine2 state machine behavior

Installs: 13 354

Dependents: 1

Stars: 14

Watchers: 1

Forks: 9

Open Issues: 0

1.1.0 2016-02-29 19:19 UTC

README

Doctrine2 behavior adding a finite state machine in your entities.

The state machine implementation used is Finite.

Installation

Install the behavior adding kphoen/doctrine-state-machine to your composer.json or from CLI:

php composer.phar require kphoen/doctrine-state-machine

Tests

Just launch the following command:

./bin/phpspec run

License

This behavior is released under the MIT license.