kphoen/doctrine-state-machine

Doctrine2 state machine behavior

Installs: 3 391

Dependents: 1

Stars: 9

Watchers: 1

Forks: 6

Language: PHP

1.0.10 2015-04-10 12:32 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.