Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 684 Bytes

File metadata and controls

29 lines (16 loc) · 684 Bytes

DoctrineStateMachineBehavior Build Status

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:@stable'

Tests

Just launch the following command:

$ ./bin/phpspec run

License

This behavior is released under the MIT license.