{"repo":"wol-soft/php-workflow","free":true,"listed":false,"github":"https://github.com/wol-soft/php-workflow","clone":"git clone https://github.com/wol-soft/php-workflow.git","description":"Create controlled workflows from small pieces","language":"PHP","stars":27,"topics":["php","php74","php8","workflow","workflow-engine","modularization","reusable-components","error-handling"],"license":"MIT","category":"workflow-automation","readme_excerpt":"php-workflow Create controlled workflows from small pieces. This library provides a predefined set of stages to glue together your workflows. You implement small self-contained pieces of code and define the execution order - everything else will be done by the execution control. Bonus: you will get an execution log for each executed workflow - if you want to see what's happening. Table of Contents ## Workflow vs. process Installation Example workflow Workflow container Stages Workflow control Nested workflows Loops Step dependencies Required container values Error handling, logging and debugging Custom output formatter Tests Workshop Workflow vs. process Before we start to look at coding with the library let's have a look, what a workflow implemented with this library can and what a workflow can't. Let's assume we want to sell an item via an online shop. If a customer purchases an item he walks through the process of purchasing an item. This process contains multiple steps. Each process step can be represented by a workflow implemented with this library. For example: Customer registration Add items to the basket Checkout the basket ... This library helps you to implement the process steps in a structured way. It doesn't control the process flow. Now we know which use cases this library aims at. Now let's install the library and start coding. Installation The recommended way to install php-workflow is through Composer: Requirements of the library: - Requires at least PHP 7.4 E","default_branch":null,"files":null,"tree":[],"storefront":"/r/wol-soft","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wol-soft/php-workflow/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}