Registry / utility / league-pipeline

league-pipeline

JSON →
library1.1.0phppackagistunverified

A plug and play pipeline implementation for composing operations in sequence.

composer require league/pipeline
INSTALL
IMPORT
SIG · LEAGUE-PIPELINE
L
league-pipeline
utilityphpv1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Pipeline
use League\Pipeline\Pipeline;

Create a pipeline that doubles then adds one.

use League\Pipeline\Pipeline; $pipeline = (new Pipeline()) ->pipe(function ($payload) { return $payload * 2; }) ->pipe(function ($payload) { return $payload + 1; }); echo $pipeline->process(5); // 11
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
league-pipeline — pip install league-pipeline · libregistry