PHPackages                             moderntribe/square1-pipeline - 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. moderntribe/square1-pipeline

ActiveLibrary

moderntribe/square1-pipeline
============================

A pipeline implementation for square one

4.2.3(5mo ago)0322GPL-2.0-onlyPHPPHP &gt;=7.4

Since Nov 29Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/moderntribe/square1-pipeline)[ Packagist](https://packagist.org/packages/moderntribe/square1-pipeline)[ RSS](/packages/moderntribe-square1-pipeline/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (28)Used By (0)

Pipeline
========

[](#pipeline)

This is a customized implementation of Laravel's [illuminate/pipeline](https://github.com/illuminate/pipeline) to work with PHP-DI and to allow passing additional parameters to your stages.

This library implements a version of the [Collection Pipeline Design Pattern](https://martinfowler.com/articles/collection-pipeline/) and the [Chain of Responsibility Design Pattern](https://refactoring.guru/design-patterns/chain-of-responsibility).

This system is what powers [Laravel's Middleware](https://laravel.com/docs/8.x/middleware) under the hood and is very useful if you want to run multiple operations in a sequence on the same data set.

Each stage can perform a specific operation, or decide to skip that operation based on some condition and pass the data to the next stage in line.

See the [integration tests](https://github.com/moderntribe/tribe-libs/blob/master/tests/integration/Tribe/Libs/Pipeline/PipelineTest.php) for some basic example use cases.

Example Use Cases
-----------------

[](#example-use-cases)

1. As request/response middleware or any middleware.
2. As a filter/facet system, e.g. building a query based on a number of selectable parameters: sort/order, post status, date etc...
3. As an access control system, allowing access by role or a number of different conditions.
4. As a formatting/transforming/data mapping system.
5. As a sanitizing system, performing different sanitization techniques based on the structure of the data.

###  Health Score

42

—

FairBetter than 89% of packages

Maintenance77

Regular maintenance activity

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~56 days

Recently: every ~300 days

Total

27

Last Release

157d ago

Major Versions

3.6.0 → 4.0.32022-08-17

PHP version history (2 changes)3.4.8PHP ^7.2

4.0.3PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a11f5bee6606989680c8f81b921f8a8e2e75bfd5190cb001812ed615d032a5e?d=identicon)[tribejustin](/maintainers/tribejustin)

![](https://www.gravatar.com/avatar/7f24821ddc28f26fff6b85940d5c65cf179e7487695383944b80f2e5257db6a0?d=identicon)[nickpelton](/maintainers/nickpelton)

---

Top Contributors

[![defunctl](https://avatars.githubusercontent.com/u/1066195?v=4)](https://github.com/defunctl "defunctl (47 commits)")[![tarecord](https://avatars.githubusercontent.com/u/6947218?v=4)](https://github.com/tarecord "tarecord (2 commits)")[![tr1b0t](https://avatars.githubusercontent.com/u/14128420?v=4)](https://github.com/tr1b0t "tr1b0t (2 commits)")

### Embed Badge

![Health badge](/badges/moderntribe-square1-pipeline/health.svg)

```
[![Health](https://phpackages.com/badges/moderntribe-square1-pipeline/health.svg)](https://phpackages.com/packages/moderntribe-square1-pipeline)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
