PHPackages                             coercive/arraypath - 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. coercive/arraypath

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

coercive/arraypath
==================

Coercive Utility ArrayPath

0.0.3(3y ago)4138MITPHP &gt;=7.4

Since Jun 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Coercive/ArrayPath)[ Packagist](https://packagist.org/packages/coercive/arraypath)[ Docs](http://coercive.fr)[ RSS](/packages/coercive-arraypath/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

Coercive ArrayPath
==================

[](#coercive-arraypath)

- Cross a table like a file path.

Get
---

[](#get)

```
composer require coercive/arraypath

```

Class
-----

[](#class)

```
use Coercive\Utility\ArrayPath\ArrayPath;

# EXAMPLE
$example_array = [
	'1' => [
		'2' => [
			'3' => [
				'content'
			]
		]
	]
];

# INIT OBJECT
$handler = ArrayPath::init($example_array);

# RETRIEVE CONTENT
$content = $handler->get('1.2.3');
$content = $handler->get('1.2.3.4', '-- null or not exist --');

# VERIFY PATH EXIST
if($handler->has('1.2.3')) {
	// ...
}

# OR get and check in same time
$content = $handler->get('1.2.3.4', null, $exist);
if(!$exist) {
	// ...
}

# SET VALUE
$handler->set('1.2.3', ['new-content']);

# DELETE PATH
$handler->delete('1.2.3');

# RESET
$handler->reset();

# OPTION : custom separator
$handler->setSeparator('@');
$content = $handler->get('1@2@3');
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Total

3

Last Release

1339d ago

PHP version history (2 changes)0.0.1PHP &gt;=7

0.0.3PHP &gt;=7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20288080?v=4)[Coercive](/maintainers/Coercive)[@Coercive](https://github.com/Coercive)

---

Top Contributors

[![Coercive](https://avatars.githubusercontent.com/u/20288080?v=4)](https://github.com/Coercive "Coercive (3 commits)")

### Embed Badge

![Health badge](/badges/coercive-arraypath/health.svg)

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

PHPackages © 2026

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