PHPackages                             eznio/ar - 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. eznio/ar

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

eznio/ar
========

Array shortcut utils

1.1.2(9y ago)04325MITPHPPHP &gt;=7.0.0

Since Jul 7Pushed 9y ago1 watchersCompare

[ Source](https://github.com/eznio/ar)[ Packagist](https://packagist.org/packages/eznio/ar)[ Docs](https://github.com/eznio/ar)[ RSS](/packages/eznio-ar/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (11)Used By (5)

Some simple array shortcuts
===========================

[](#some-simple-array-shortcuts)

Small collection of (sometimes) useful array-related tools.

```
function get(array $array, string $path);
function each(array $array, callable $callback)
function filter(array $array, callable $callback)
function reject(array $array, callable $callback)
function map(array $array, callable $callback)
function reduce(array $array, callable $callback, mixed $initialValue)
function sort(array $array, string $elementPath)
function is1d(array $array)
function is2d(array $array)
```

Documentation:

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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 ~37 days

Recently: every ~22 days

Total

10

Last Release

3300d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.4.0

1.0.6PHP &gt;=7.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/d81a9338efaa22b0fd0e98575091f89f86190ab34354e3a555655a7b5a2a6f75?d=identicon)[evgeny-zinder](/maintainers/evgeny-zinder)

---

Top Contributors

[![evgeny-zinder](https://avatars.githubusercontent.com/u/6049024?v=4)](https://github.com/evgeny-zinder "evgeny-zinder (11 commits)")

---

Tags

arraymaputilreduce

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/eznio-ar/health.svg)

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

###  Alternatives

[aimeos/map

Easy and elegant handling of PHP arrays as array-like collection objects similar to jQuery and Laravel Collections

4.3k443.7k14](/packages/aimeos-map)[dusank/knapsack

Collection library for PHP

5351.0M25](/packages/dusank-knapsack)[graze/data-structure

Data collections and containers

12293.1k10](/packages/graze-data-structure)[chemem/bingo-functional

A simple functional programming library.

687.0k3](/packages/chemem-bingo-functional)

PHPackages © 2026

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