PHPackages                             futape/array-utility - 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. futape/array-utility

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

futape/array-utility
====================

A library of array utilities

2.0.0(6y ago)0213MITPHPPHP ~7.2.0CI failing

Since Nov 24Pushed 6y ago1 watchersCompare

[ Source](https://github.com/futape/array-utility)[ Packagist](https://packagist.org/packages/futape/array-utility)[ RSS](/packages/futape-array-utility/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (3)

futape/array-utility
====================

[](#futapearray-utility)

This library offers a set of array utilities.

Utility functions are implemented as static functions in an abstract class, which is never expected to be instantiated.

Install
-------

[](#install)

```
composer require futape/array-utility
```

Usage
-----

[](#usage)

```
use Futape\Utility\ArrayUtility\Arrays;

print_r(
    Arrays::flatten(
        [
            'foo',
            [
                'bar'
            ]
        ]
    )
); // ["foo", "bar"]
```

Testing
-------

[](#testing)

The library is tested by unit tests using PHP Unit.

To execute the tests, install the composer dependencies (including the dev-dependencies), switch into the `tests`directory and run the following command:

```
../vendor/bin/phpunit
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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

Total

2

Last Release

2331d ago

Major Versions

1.0.0 → 2.0.02019-12-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/2039b7c5a64766be0d130dbd8f7cfa4e3863c3c8b54eca6466c0974311fe6ccd?d=identicon)[futape](/maintainers/futape)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/futape-array-utility/health.svg)

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

###  Alternatives

[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[mageplaza/module-ajax-layered-navigation

Magento 2 Ajax Layered Navigation Extension

40363.2k](/packages/mageplaza-module-ajax-layered-navigation)[phospr/fraction

A composer-installable fractions library

34327.5k2](/packages/phospr-fraction)

PHPackages © 2026

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