Download the PHP package yohang/finite without Composer
On this page you can find all versions of the php package yohang/finite. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download yohang/finite
More information about yohang/finite
Files in yohang/finite
Download yohang/finite
More information about yohang/finite
Files in yohang/finite
Vendor yohang
Package finite
Short Description A simple PHP Finite State Machine
License MIT
Homepage https://github.com/yohang/Finite
Package finite
Short Description A simple PHP Finite State Machine
License MIT
Homepage https://github.com/yohang/Finite
Please rate this library. Is it a good library?
Informations about the package finite
Finite, A Simple PHP Finite State Machine
Finite is a Simple State Machine, written in PHP. It can manage any Stateful object by defining states and transitions between these states.
Features
- Managing State/Transition graph for an object
- Defining and retrieving properties for states
- Event Listenable transitions
- Symfony2 integration
- Custom state graph loaders
- Twig Extension
Documentation
Documentation for master (1.1)
Getting started
Installation (via composer)
Version note :
If your are using this library in a Symfony project, 1.1 version is only compatible with Symfony >=2.6
.
1.0 is compatible with Symfony >=2.3, <2.6
.
Define your Stateful Object
Your stateful object just need to implement the StatefulInterface
Interface.
Initializing a simple StateMachine
All versions of finite with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
symfony/options-resolver Version ^4.0|^5.0|^6.0
symfony/event-dispatcher Version ^4.0|^5.0|^6.0
symfony/property-access Version ^4.0|^5.0|^6.0
symfony/options-resolver Version ^4.0|^5.0|^6.0
symfony/event-dispatcher Version ^4.0|^5.0|^6.0
symfony/property-access Version ^4.0|^5.0|^6.0
The package yohang/finite contains the following files
Loading the files please wait ....