PHPackages                             darkfriend/php7-array - 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. darkfriend/php7-array

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

darkfriend/php7-array
=====================

PHP7 array helper

1.0.5(1y ago)13.2k3PHPPHP &gt;=7.0

Since Dec 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/darkfriend/php7-array)[ Packagist](https://packagist.org/packages/darkfriend/php7-array)[ Docs](https://github.com/darkfriend/php7-array)[ RSS](/packages/darkfriend-php7-array/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (6)DependenciesVersions (7)Used By (3)

ArrayHelper - хелпер для удобной работы с массивами
===================================================

[](#arrayhelper---хелпер-для-удобной-работы-с-массивами)

`composer require darkfriend/php7-array`

- `ArrayHelper::in_array($needle, $haystack)` - highload method for search value in array
- `ArrayHelper::isMulti($arr)` - check array on multiple array
- ` ArrayHelper::sortValuesToArray($sourceArray,$orderArray)` - Sort values array to order array
- ` ArrayHelper::sortKeysToArray($sourceArray,$orderArray)` - Sort keys source array to order array
- ` ArrayHelper::keysExists(array $arKeys, array $sourceArray)` - found keys in source array
- ` ArrayHelper::removeByKey(array $source, array $keys, bool $negative = false)` - remove keys from source array. If set negative in true then remove all except for keys
- ` ArrayHelper::removeByValue(array $source, array $values, bool $negative = false)` - found values and remove item from source array. If set negative in true then remove all except for values
- ` ArrayHelper::mergeValues(array $array1, array $array2, array $keys = [])` - merge values $array2 in $array1 at null or empty values $array1

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance41

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community12

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

Recently: every ~433 days

Total

6

Last Release

495d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/302f1cdc7cb85fc89550bad0c164e195b831f50de8a2a148fa754670d5f328cc?d=identicon)[darkfriend](/maintainers/darkfriend)

---

Top Contributors

[![darkfriend](https://avatars.githubusercontent.com/u/7825114?v=4)](https://github.com/darkfriend "darkfriend (7 commits)")

---

Tags

arrayarray-helperhelperphpphp7phphelperdevarraydevelopmentPHP7darkfriend

### Embed Badge

![Health badge](/badges/darkfriend-php7-array/health.svg)

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

###  Alternatives

[clausnz/php-helpers

A Collection of useful php helper functions.

388.7k](/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.

2516.7k](/packages/iteks-laravel-enum)[bayfrontmedia/php-array-helpers

Helper class to provide useful array functions.

1413.4k23](/packages/bayfrontmedia-php-array-helpers)

PHPackages © 2026

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