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

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

terpomoj/pipe
=============

Pipe operator alternative.

v0.1.0(3y ago)0682MITPHPPHP ^8.1

Since Jun 9Pushed 3y agoCompare

[ Source](https://github.com/terpomoj/pipe)[ Packagist](https://packagist.org/packages/terpomoj/pipe)[ RSS](/packages/terpomoj-pipe/feed)WikiDiscussions main Synced 1w ago

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

🚇 `Terpomoj/Pipe`
=================

[](#-terpomojpipe)

This is an alternatives to the declined [PHP Pipe Operator RFC](https://wiki.php.net/rfc/pipe-operator-v2).

The idea was [first introduced by Taylor Otwell on Twitter](https://twitter.com/taylorotwell/status/1413133237250105344?s=21&t=di9D3ZFk5frnmdRlJ26OoA). I added some feature, such as directly call the function on the piping value, and directly accessing attribute of the piping value.

Usage Examples
--------------

[](#usage-examples)

### Basic Usage

[](#basic-usage)

```
pipe('test@example.com')
    (md5(...))
    (fn ($md5) => 'https://gravatar.com/avatar/' . $md5)
    ->endpipe;
```

### Accessing Object Attribute

[](#accessing-object-attribute)

```
pipe('test@example.com')
    (GravatarUrl::make(...))
    ->url // `url` is an attribute of GravatarUrl
    ->endpipe;
```

### Calling Object Method

[](#calling-object-method)

```
pipe('test@example.com')
    (GravatarUrl::make(...))
    ->size(200) // `size` is a method of GravatarUrl
    ->endpipe;
```

License
-------

[](#license)

MIT License

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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

Unknown

Total

1

Last Release

1438d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/72963081?v=4)[BinotaLIU](/maintainers/binota)[@binota](https://github.com/binota)

---

Top Contributors

[![binotaliu](https://avatars.githubusercontent.com/u/67255597?v=4)](https://github.com/binotaliu "binotaliu (1 commits)")

###  Code Quality

TestsPest

### Embed Badge

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

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

###  Alternatives

[jasonpriem/human-name-parser

Takes human names of arbitrary complexity and various wacky formats and parses them out.

110119.6k](/packages/jasonpriem-human-name-parser)[scotthuangzl/yii2-google-chart

A wraper for google chart

12189.0k2](/packages/scotthuangzl-yii2-google-chart)

PHPackages © 2026

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