PHPackages                             nhlm/pipechain - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. nhlm/pipechain

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

nhlm/pipechain
==============

A linear chainable pipeline pattern implementation with fallbacks

v1.2(9y ago)116MITPHP

Since Mar 14Pushed 9y ago1 watchersCompare

[ Source](https://github.com/nhlm/pipechain)[ Packagist](https://packagist.org/packages/nhlm/pipechain)[ RSS](/packages/nhlm-pipechain/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

PipeChain
=========

[](#pipechain)

A linear chainable pipeline pattern implementation with fallbacks.

What is a linear pipeline
-------------------------

[](#what-is-a-linear-pipeline)

A linear pipeline is a object that stacks callbacks and provides a processing logic to process a payload thru the callback stack, form the first to the last.

Processors
----------

[](#processors)

PipeChain comes out of the box with 4 different processors:

### The common invoker processor

[](#the-common-invoker-processor)

The common invoker processor implements a processing of the queue that considers the provided fallback callback as the successor of a failed stage callback.

The common invoker processor is the default processor.

Example:

```
