kphoen/doctrine-state-machine

Doctrine2 state machine behavior

Installs: 8 387

Dependents: 1

Stars: 13

Watchers: 1

Forks: 8

Open Issues: 0

1.0.11 2015-12-27 17: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.