PHPackages                             moirei/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. [Framework](/categories/framework)
4. /
5. moirei/pipeline

ActiveLibrary[Framework](/categories/framework)

moirei/pipeline
===============

Simple Laravel pipeline library.

0.3.0(1mo ago)0482MITPHPPHP ^8.2

Since Dec 3Pushed 1mo agoCompare

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

READMEChangelogDependencies (20)Versions (6)Used By (0)

Laravel Pipeline
================

[](#laravel-pipeline)

Amongst several pipeline packages, including [Laravel's very own package](https://github.com/illuminate/pipeline), you might want a solution with a bit more regor for complex operations.

This package is intended for data processing and should not be a replacement for actions nor jobs. The concept of a pipeline here is a structured collection of micro tasks that happen in succession in order to yield a single output from a single input.

Documentation
-------------

[](#documentation)

All documentation is available at [the documentation site](https://moirei.github.io/pipeline).

Features
--------

[](#features)

- Utility operators
- Pipeline context
- Use closures, handler classes or context methods

Example
-------

[](#example)

If you're used to RxJs, you might have an appreciation for the below example. There's technically no limit to what can be done with pipelines.

```
$value = Pipeline::with(0)->pipe([
    Pipeline::switch([
        fn ($v) => $v + 1,
        fn ($v) => $v + 2,
        fn ($v) => $v + 3,
    ]),
    Pipeline::map(
        fn ($v) => $v * 2,
    ),
    Pipeline::tap(function (array $value) {
        // do whatever
    }),
]);

// returns [2, 4, 6]
```

See [rationale](https://moirei.github.io/pipeline/rationale) for a more exciting example.

Installation
------------

[](#installation)

```
composer require moirei/pipeline
```

Tests
-----

[](#tests)

```
composer test
```

Credits
-------

[](#credits)

- [illuminate/pipeline](https://github.com/illuminate/pipeline)

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance89

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~301 days

Total

5

Last Release

53d ago

PHP version history (2 changes)0.1.0PHP ^8.0

0.3.0PHP ^8.2

### Community

Maintainers

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

---

Top Contributors

[![augustusnaz](https://avatars.githubusercontent.com/u/51074349?v=4)](https://github.com/augustusnaz "augustusnaz (6 commits)")

---

Tags

laravelactionspipelinerx.phpmoirei

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k96.9M674](/packages/laravel-socialite)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k84.2M225](/packages/laravel-horizon)[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[laravel/sail

Docker files for running a basic Laravel application.

1.9k186.9M1.0k](/packages/laravel-sail)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k25.9M107](/packages/laravel-cashier)[laravel/scout

Laravel Scout provides a driver based solution to searching your Eloquent models.

1.7k49.4M479](/packages/laravel-scout)

PHPackages © 2026

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