Download the PHP package softius/phlow without Composer
On this page you can find all versions of the php package softius/phlow. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download softius/phlow
More information about softius/phlow
Files in softius/phlow
Informations about the package phlow
Phlow - Worfklow Model and Engine
Phlow is a workflow modeller and engine for PHP. Heavily inspired by BPMN 2.0 and Apache Camel, Phlow attempts to provide a library to design and implement business processes in PHP projects. It utilises the notion of workflow to model a process of any kind, through which a piece of work passes from initiation to completion.
Phlow process models can be created using PHP. No third party tools are required to model and/or execute your process.
Phlow is a framework agnostic solution.
Features
:white_check_mark: Sequence flow\ :white_check_mark: Conditional flow\ :white_check_mark: Error handling\ :white_check_mark: Callbacks\ :white_check_mark: Boolean expressions for Conditions\ :white_check_mark: PSR/3 Logger integration\ :white_check_mark: Execution path replay\ :white_check_mark: Workflow model in plain/text format\ :white_check_mark: Execution path in plain/text format
See the Roadmap for more information about the upcoming releases.
Getting Started
The following image illustrates a simple process for dealing with a non-functioning lamp. Once a non-functioning lamp is found, the flow evaluates whether the lamp is plugged in. If not, it evaluates whether the lamp has been burned out. In any case, particular actions must be taken i.e. replace the lamp.
Also, the following code illustrates the model for the same process.
Once the model bas been built, it can be executed by creating a new instance. At this point it is possible to pass some data that could be made available throughout the process. The data can be any object which could be also updated as part of the process.
Installation
Phlow can be installed to your PHP project by executing the following composer command. Please note that currently there is no stable version yet available.
Documentation
- Overview
- Workflow Model
- Workflow Engine
- Workflow Builder
- Sequence Flow - Example
- Conditional Flow - Example
- FAQs
Testing
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Iacovos Constantinou
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of phlow with dependencies
symfony/expression-language Version ^4.1
psr/log Version ^1.0
dusank/knapsack Version ^10.0