π Flow 8.2.0 β PHP 8.5 pipelines on Symfony 8.2
on November 29, 2026
Flow 8.2.0 is the stable PHP 8.5 release aligned with the Darkwood PHP 8.2 series. It points to the same Git commit as v8.1.12, so the code and dependency constraints are identical. The new tag makes the Symfony 8.2 compatibility validated for this series visible in the release number.
Build a small pipeline
Flow passes an Ip payload through a series of jobs. A FlowFactory builds the pipeline from a generator of callables. The return value of one job becomes the input of the next. Here, each step has a single job, so it can be tested independently.
<?php
use Flow\FlowFactory;
use Flow\Ip;
$pipeline = (new FlowFactory())->create(static function () {
yield static fn (string $name): string => trim($name);
yield strtoupper(...);
yield static function (string $name): void {
echo $name, PHP_EOL;
};
});
$pipeline(new Ip(' flow '));
$pipeline->await(); // FLOW
The example uses closures and PHPβs first-class callable syntax. await() waits for the pipeline to finish. In the stable series, a job exception is represented as a Flow\Exception\RuntimeException value. An errorJob can handle it. Otherwise it continues to the next job.
Install on PHP 8.5 and Symfony 8.2
composer require darkwood/flow:^8.2
Flow 8.2.0 requires PHP 8.5 or later. Its Symfony component constraints remain ^8.1, which includes Symfony 8.2.0. During validation, a clean installation of MediaBundle 8.2.0 on PHP 8.5.12 and Symfony 8.2.0 resolved Flow 8.2.0 through MediaBundleβs existing ^8.1.6 constraint.
Development on main targets the next major release. That line requires PHP 8.6 and includes PollDriver using Io\Poll, along with examples using PHP 8.6 partial function application.
GitHub release and changelog Β· Packagist Β· Source tag in the monorepo