https://github.com/pluf/workflow
Object workflow to handle object life cycle.
https://github.com/pluf/workflow
Last synced: about 1 month ago
JSON representation
Object workflow to handle object life cycle.
- Host: GitHub
- URL: https://github.com/pluf/workflow
- Owner: pluf
- Created: 2017-02-18T23:35:36.000Z (over 8 years ago)
- Default Branch: develop
- Last Pushed: 2021-06-13T23:01:40.000Z (almost 4 years ago)
- Last Synced: 2025-03-30T11:21:58.540Z (2 months ago)
- Language: PHP
- Size: 425 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Workflow
[](https://travis-ci.com/pluf/workflow)
[](https://codecov.io/gh/pluf/workflow)
[](https://coveralls.io/github/pluf/workflow)
[](https://codeclimate.com/github/pluf/workflow/maintainability)
[](https://codeclimate.com/github/pluf/workflow/test_coverage)A workflow module fo pluf.
## Contributing
If you would like to contribute to Pluf, please read the README and CONTRIBUTING documents.
The most important guidelines are described as follows:
>All code contributions - including those of people having commit access - must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.
Fork the project, create a feature branch, and send us a pull request.
To ensure a consistent code base, you should make sure the code follows the PSR-2 Coding Standards.
https://github.com/hekailiang/squirrel
## What is it?
Workflow is aimed to provide a **lightweight**, highly **flexible** and **extensible**, **diagnosable**, **easy use** and **type safe** PHP 8 state machine implementation for enterprise usage.
Here is the state machine diagram which describes the state change of an ATM:

The sample code could be found in folder *"tests\ATMStateMachine.php"*.
## Composer
Pluf Workflow has been deployed to pakcagest (php composer repository) repository, so you only need to add following dependency to the composer.json.
```json
"pluf\workflow": "7.x"
```