PHPackages                             pangolinkeys/pipe - 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. pangolinkeys/pipe

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

pangolinkeys/pipe
=================

Package to provide standardisation to the pipe pattern

v2.0.0(7y ago)37011MITPHP

Since Oct 1Pushed 7y ago1 watchersCompare

[ Source](https://github.com/pangolinkeys/pipeline)[ Packagist](https://packagist.org/packages/pangolinkeys/pipe)[ RSS](/packages/pangolinkeys-pipe/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)Dependencies (1)Versions (6)Used By (1)

php-pipeline
============

[](#php-pipeline)

Repository to provide a simple implementation of the pipeline pattern in PHP.

To use implement the `Pipeline` trait. Call `->pipe()` from your class passing a list of objects that implement the `ProvidesPipeline` class. Optionally use `InitializePipeline` helper class to get your values into the pipeline.

See the `Example` folder inside the `tests` folder for a working example.

```
return $this->pipe(
        new InitializePipeline($value),
        new DivideByTwo,
        new DivideByTwo,
        new TimesByOneThousand,
        new TimesByOneThousand
);

```

Composer
--------

[](#composer)

To install this package into your composer projects run:

`composer require pangolinkeys/pipe`

Context Pipeline
----------------

[](#context-pipeline)

You can optionally implement `ProvidesContextPipeline` to be passed an instance of the piping object within the pipeline. This will be given as a second parameter to the `handle` method.

Pipe by class name
------------------

[](#pipe-by-class-name)

As of v2 you can define a pipeline by reference to the class name and allow the pipeline to handle class instantiation.

```
return $this->pipe(
    new InitializePipeline($value),
    DivideByTwo::class,
    TimesByOneThousand::class
);

```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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 ~37 days

Total

5

Last Release

2683d ago

Major Versions

v1.1.1 → v2.0.02019-02-25

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18718938?v=4)[James Cook](/maintainers/pangolinkeys)[@pangolinkeys](https://github.com/pangolinkeys)

---

Top Contributors

[![pangolinkeys](https://avatars.githubusercontent.com/u/18718938?v=4)](https://github.com/pangolinkeys "pangolinkeys (5 commits)")[![midnite81](https://avatars.githubusercontent.com/u/254850?v=4)](https://github.com/midnite81 "midnite81 (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pangolinkeys-pipe/health.svg)

```
[![Health](https://phpackages.com/badges/pangolinkeys-pipe/health.svg)](https://phpackages.com/packages/pangolinkeys-pipe)
```

###  Alternatives

[horstoeko/zugferdvisualizer

A library

34230.3k4](/packages/horstoeko-zugferdvisualizer)[luketowers/laravel-ga4-event-tracking

Simplifies using the Measurement Protocol for Google Analytics 4 to track events in Laravel applications.

2118.1k](/packages/luketowers-laravel-ga4-event-tracking)[fbf/laravel-contact-form

A Laravel 4 package for adding a simple contact form to a website

141.1k](/packages/fbf-laravel-contact-form)

PHPackages © 2026

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