Download the PHP package marcosiino/pipeflow without Composer
On this page you can find all versions of the php package marcosiino/pipeflow. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download marcosiino/pipeflow
More information about marcosiino/pipeflow
Files in marcosiino/pipeflow
Package pipeflow
Short Description A pipeline implementation for PHP
License BSD-3-Clause
Informations about the package pipeflow
📦 Now available on Packagist —
composer require marcosiino/pipeflowPHP:
^8.1 | ^8.2 | ^8.3 | ^8.4— Zero dependencies — BSD-3-ClauseThis repository is a fork of marcosiino/pipeflow-php published on Packagist as a first-party package for easier Composer installation. BSD-3-Clause license. Maintained by @paginaviva.
Requirements
- PHP 8.1 or higher (8.1, 8.2, 8.3, 8.4 — verified)
- No external PHP extensions required
- Zero external dependencies
Pipeflow has been tested on PHP 8.1 through 8.4. It does not require any external PHP extensions or libraries.
Pipeflow PHP
Pipeflow is a lightweight pipeline engine for PHP applications. It lets you describe complex automations as a sequence of small, reusable processing steps called stages. The real superpower is that the entire flow can be expressed in a clear XML format that is easy to read, visualise, and reason about—so even non-developers can review, maintain, and update automations without touching PHP code (but you can also configure the pipelines via hard coded php code).
Each stage receives a shared context, performs a focused unit of work, and returns the enriched context to the next stage. By chaining stages together you can orchestrate complex jobs while keeping each piece easy to maintain and test.
In other words Pipeflow library gives you the instruments to instantiate one or more pipelines from an xml configuration, providing starting data in an initial context (optionally), and execute them when you want. What you will need to do is use these instruments in your web application to allow your actors to: edit the pipeline's configurations xml (via a text editor), save the pipeline xml configuration somewhere (e.g. your application db), and, when your application need to start a pipeline (manually or through a cron), just load the xml, feed it in the Pipeline class instance, and launch it.
Table of Contents
- Requirements
- Why Pipeflow matters
- Example use cases
- Installation and Documentation
- Quick introduction to pipelines
- Configuring with XML
- Configuring programmatically via PHP
- Extending with custom stages
- Real Use Cases
- Learn more
- Contribute to PipeFlow
- License
Why Pipeflow matters
- Human-friendly configuration – describe automations in a simple XML format that even non developers can read, write and maintain.
- Zero dependencies – the library has zero external dependencies, making it lightweight and easy to integrate into any PHP project.
- Reusable stages – stages are encapsulated units of work that can be combined and reused across different pipelines.
- Context sharing – stages communicate through a shared context (
PipelineContext), enabling complex data flows without tight coupling. - Extensible – you can create custom stages by extending the provided abstract class, tailoring the engine to your specific needs.
- Proven in production – Pipeflow is being used in real world applications, including WordPress sites with AI-driven content generation.
- No background workers - everything runs synchronously within the same PHP process. Keep it simple.
Other example use cases
- E-commerce automation: fetch products from an API, transform the data, and update your inventory.
- Content processing pipelines: download files, extract text, process with AI, and store results.
- Data transformation: decode JSON, filter arrays, and encode results in a structured pipeline.
- API orchestration: chain multiple API calls where the output of one becomes the input of the next.
- Scheduled tasks: combine Delay stage with other stages to create scheduled automation (when triggered by a cron job).
- Multi-step forms: guide users through a sequence of steps where each step depends on the previous one.
Installation and Documentation
Since Pipeflow is now available on Packagist, you can install it directly:
Note: This package requires PHP 8.1 or higher (tested on PHP 8.1 through 8.4).
For full documentation, please refer to the DOCUMENTATION.md.
Quick introduction to pipelines
Configuring with XML
You can configure a pipeline using a simple XML format:
Then run it in PHP:
Configuring programmatically via PHP
You can also build the pipeline configuration directly in PHP, without XML:
Extending with custom stages
Pipeflow is designed to be extensible. You can create custom stages by extending AbstractPipelineStage and registering them with a factory.
Check the full documentation in DOCUMENTATION.md.
Real Use Cases
Pipeflow is currently in use on the following sites, demonstrating its reliability in production environments:
- PagineDaColorare.it - A coloring pages website that uses Pipeflow to orchestrate AI-powered content generation pipelines.
- Fiaberello.it - A storytelling platform that leverages Pipeflow for automated fairy tale generation.
Learn more
License
This project is licensed under the BSD 3-Clause License - see the LICENSE file for details.