PHPackages                             moxemus/array-helper - 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. moxemus/array-helper

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

moxemus/array-helper
====================

Array helper to extend default array functions.

1.6.1(1y ago)171MITPHPPHP &gt;=8.0CI failing

Since Dec 11Pushed 1y agoCompare

[ Source](https://github.com/moxemus/array-helper)[ Packagist](https://packagist.org/packages/moxemus/array-helper)[ Docs](https://https://github.com/moxemus/array-helper)[ RSS](/packages/moxemus-array-helper/feed)WikiDiscussions master Synced today

READMEChangelog (7)Dependencies (1)Versions (8)Used By (0)

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

[](#installation)

Just add the package to your project using Composer:

```
composer require moxemus/array-helper
```

Usage
-----

[](#usage)

Add `Helper` class in your project and use like a static class:

```
use moxemus\array\Helper as ArrayHelper;

$data = [
    'a' => 'word',
    12,5 => 23,
    null => false
];

$realFirstIndex = ArrayHelper::getFirstIndex($data); #: 'a'
$realFirstValue = ArrayHelper::getFirstValue($data); #: 'word'
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance42

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity56

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

Recently: every ~192 days

Total

7

Last Release

475d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f5090fe552f5837753dbd3b641cecea458c535184505aaf40d12d7876c8f8b8?d=identicon)[moxemus](/maintainers/moxemus)

---

Top Contributors

[![moxemus](https://avatars.githubusercontent.com/u/23290906?v=4)](https://github.com/moxemus "moxemus (35 commits)")

---

Tags

phphelperarrayhelpersfunction

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/moxemus-array-helper/health.svg)

```
[![Health](https://phpackages.com/badges/moxemus-array-helper/health.svg)](https://phpackages.com/packages/moxemus-array-helper)
```

###  Alternatives

[laravelista/ekko

Framework agnostic PHP package for marking navigation items active.

274700.4k3](/packages/laravelista-ekko)[bayfrontmedia/php-array-helpers

Helper class to provide useful array functions.

1414.6k26](/packages/bayfrontmedia-php-array-helpers)[clausnz/php-helpers

A Collection of useful php helper functions.

3810.4k](/packages/clausnz-php-helpers)[iteks/laravel-enum

A comprehensive Laravel package providing enhanced enum functionalities, including attribute handling, select array conversions, and fluent facade interactions for robust enum management in Laravel applications.

2519.3k](/packages/iteks-laravel-enum)

PHPackages © 2026

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