PHPackages                             blue3957/creek - 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. blue3957/creek

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

blue3957/creek
==============

A fluent way to manipulate arrays

1.0.0(2y ago)1156GPL-3.0PHPPHP &gt;=8.0

Since Jan 13Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Blue3957/creek)[ Packagist](https://packagist.org/packages/blue3957/creek)[ Docs](https://github.com/blue3957/creek)[ RSS](/packages/blue3957-creek/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Creek
=====

[](#creek)

Operate sequentially on arrays

Installation
============

[](#installation)

Install me with composer!

`composer require Blue3957/Creek`

Operation
=========

[](#operation)

Create a new `Creek` from an array, manipulate it, then retrieve it!

```
$users = [
    ['name' => 'Arthur', 'active' => true],
    ['name' => 'Bernard', 'active' => false],
    ['name' => 'Claude', 'active' => true],
];

$activeNames = Creek::from($users)
    ->filter(fn($user) => $user['active'])
    ->map(fn($user) => $user['name'])
    ->toArray(); //["Arthur, Claude"]
```

Supports the following methods:

```
//manipulation
public function map(Callable $callback): static;
public function filter(?Callable $callback = null): static;
public function usort(Callable $callback): static;
public function uksort(Callable $callback): static;
public function flatten(int $depth = 1): static;

//output
public function toArray(): array;
public function reduce(Callable $callback, mixed $initial = null): mixed;
public function join(?string $separator = null): string;
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

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

847d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b65a6203d7baa62a9823f1cd56f36719989e0ea974c89a31f96b7c108344982f?d=identicon)[Blue3957](/maintainers/Blue3957)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/blue3957-creek/health.svg)

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

###  Alternatives

[bigwhoop/sentence-breaker

Sentence boundary disambiguation (SBD) - or sentence breaking - library written in PHP.

42132.3k](/packages/bigwhoop-sentence-breaker)[j0k3r/graby-site-config

Graby site config files

23365.8k3](/packages/j0k3r-graby-site-config)

PHPackages © 2026

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