SweepingDesign / DoctrineStateMachineBehavior

Doctrine2 behavior adding a finite state machine in your entities

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Doctrine2 behavior adding a finite state machine in your entities

License:MIT License