PHPackages                             xety/arrayor - 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. xety/arrayor

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

xety/arrayor
============

A simple class that provide some functions to manipulate arrays.

v1.0.0(9y ago)014MITPHPPHP &gt;=5.4.0

Since Nov 6Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Xety/Arrayor)[ Packagist](https://packagist.org/packages/xety/arrayor)[ Docs](https://github.com/Xety/Arrayor)[ RSS](/packages/xety-arrayor/feed)WikiDiscussions master Synced 4w ago

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

Arrayor
=======

[](#arrayor)

A simple class that provide some functions to manipulate arrays.

TravisCoverageScrutinizerStable VersionDownloadsLicense[![Build Status](https://camo.githubusercontent.com/ebec8af5b4d3f8878d23666af4c06ff2c62ea05a735fd736eee4e9319f623cf6/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f586574792f41727261796f722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Xety/Arrayor)[![Coverage Status](https://camo.githubusercontent.com/93ac408c083e726330fa6cddecc610b9f2102e2e8e94fb9de0db9c93267fda9f/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f586574792f41727261796f722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/r/Xety/Arrayor)[![Scrutinizer](https://camo.githubusercontent.com/a06f568fff9fcd138fac6a652117d5ce8394b8a4cb4285c71ef026a12d74682c/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f586574792f41727261796f722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Xety/Arrayor)[![Latest Stable Version](https://camo.githubusercontent.com/9f1f72bcf014824097cfa9a453574b29d7380e43a016068c219c6c143dba88fd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f586574792f41727261796f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/xety/arrayor)[![Total Downloads](https://camo.githubusercontent.com/7ec194c53e27b40c5cd42a02cc20b7377aa5c57ab7d33d58bc4573bd5f108355/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f786574792f61727261796f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/xety/arrayor)[![License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/xety/xeta)### Requirements

[](#requirements)

- 📦 [Composer](https://getcomposer.org)
- [![PHP](https://camo.githubusercontent.com/fc99b03d3705112a69d0c82a0802afddb324fd7ffdaae2c6a9e3b964a5f20cba/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d352e342d3434434231322e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/fc99b03d3705112a69d0c82a0802afddb324fd7ffdaae2c6a9e3b964a5f20cba/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d352e342d3434434231322e7376673f7374796c653d666c61742d737175617265)

### Functions

[](#functions)

- `Arrayor::camelizeIndex($array, $delimiter = '_')`
    - Camelize all index keys in the first level.

```
$array = [
    'Index key' => 1,
    'key_index' => 2
];

$result = Arrayor::camelizeIndex($array);

$result = [
    'indexKey' => 1,
    'keyIndex' => 2
];
```

- `Arrayor::implodeRecursive($array = [], $glue = ' : ', $separator = ' | ')`
    - Implode an array into a string by both key and value.

```
$array = [
    'key-index' => 1,
    'key index' => 'value'
];

$string = Arrayor::implodeRecursive($array);

$string = 'key-index : 1 | key index : value';
```

### Contribute

[](#contribute)

[Follow this guide to contribute](https://github.com/Xety/Arrayor/blob/master/CONTRIBUTING.md)

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

3523d ago

### Community

Maintainers

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

---

Top Contributors

[![Xety](https://avatars.githubusercontent.com/u/8210023?v=4)](https://github.com/Xety "Xety (6 commits)")

---

Tags

arraymanipulationfunctionsarrayor

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/xety-arrayor/health.svg)

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

###  Alternatives

[doctrine/inflector

PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.

11.3k900.4M842](/packages/doctrine-inflector)[doctrine/collections

PHP Doctrine Collections library that adds additional functionality on top of PHP arrays.

6.0k423.8M1.4k](/packages/doctrine-collections)[symfony/property-access

Provides functions to read and write from/to an object or array using a simple string notation

2.8k309.5M3.1k](/packages/symfony-property-access)[nette/utils

🛠 Nette Utils: lightweight utilities for string &amp; array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.

2.1k417.9M1.7k](/packages/nette-utils)[league/config

Define configuration arrays with strict schemas and access values with dot notation

565323.7M35](/packages/league-config)[voku/arrayy

Array manipulation library for PHP, called Arrayy!

4915.7M18](/packages/voku-arrayy)

PHPackages © 2026

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