2017 © Pedro Peláez
 

library state-machine

Flexible state machine library that perfectly works with Laravels Eloquent models.

image

hyn/state-machine

Flexible state machine library that perfectly works with Laravels Eloquent models.

  • Monday, July 3, 2017
  • by Luceos
  • Repository
  • 4 Watchers
  • 10 Stars
  • 1,355 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

State machine

The state machine is a flexible library that helps you move Eloquent models from States through Transitions while emitting events along the way., (*1)

Example

Let's say we have a Cat, who does two things, being, (*2)

In order to become Awake from his initial state being Asleep, the cat has to, (*3)

Now if we look at the state machine definition we can see the above is perfectly mapped out., (*4)

Installation

composer require hyn/state-machine

Read more about installation and configuration on state-machine.readme.io., (*5)

Tests

Run the tests with:, (*6)

vendor/bin/phpunit

The Versions

03/07 2017

dev-master

9999999-dev

Flexible state machine library that perfectly works with Laravels Eloquent models.

  Sources   Download

MIT

The Requires

 

The Development Requires

15/02 2017

1.0.5

1.0.5.0

Flexible state machine library that perfectly works with Laravels Eloquent models.

  Sources   Download

MIT

The Requires

 

The Development Requires

01/11 2016

1.0.4

1.0.4.0

Flexible state machine library that perfectly works with Laravels Eloquent models.

  Sources   Download

MIT

The Requires

 

The Development Requires

12/10 2016

1.0.3

1.0.3.0

Flexible state machine library that perfectly works with Laravels Eloquent models.

  Sources   Download

MIT

The Requires

 

The Development Requires

12/10 2016

1.0.2

1.0.2.0

Flexible state machine library that perfectly works with Laravels Eloquent models.

  Sources   Download

MIT

The Requires

 

The Development Requires

12/10 2016

1.0.1

1.0.1.0

Flexible state machine library that perfectly works with Laravels Eloquent models.

  Sources   Download

MIT

The Requires

 

The Development Requires

12/10 2016

1.0.0

1.0.0.0

Flexible state machine library that perfectly works with Laravels Eloquent models.

  Sources   Download

MIT

The Requires

 

The Development Requires