PHPackages                             rwillians/stingray - 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. rwillians/stingray

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

rwillians/stingray
==================

Dot notation reader/writer for multidimensional arrays in PHP.

2.1.0(10y ago)214.7k↓42.3%12MITPHPPHP &gt;=5.3.3

Since Jun 12Pushed 9y ago2 watchersCompare

[ Source](https://github.com/rwillians/stingray)[ Packagist](https://packagist.org/packages/rwillians/stingray)[ RSS](/packages/rwillians-stingray/feed)WikiDiscussions v2 Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (6)Used By (2)

Stingray [![Code Climate](https://camo.githubusercontent.com/f5707cf3031c0f56df12abcdde1a6f360ec8877916395acc309a4a9f42569631/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f7277696c6c69616e732f7374696e677261792f6261646765732f6770612e737667)](https://codeclimate.com/github/rwillians/stingray) [![Test Coverage](https://camo.githubusercontent.com/3e5c2900fb287639dc292f9630bbc2a173fbf7755e5fac5b1473e5f73f849e06/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f7277696c6c69616e732f7374696e677261792f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/rwillians/stingray/coverage)
==================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#stingray--)

Dot notation reader/writer for multidimensional arrays in PHP.

Installing via Composer
-----------------------

[](#installing-via-composer)

Add Stingray to your project:

```
$>  composer.phar require rwillians/stingray ^2.0
```

or directly to composer.json:

```
{
    "require": {
        "rwillians/stingray": "^2.0"
    }
}
```

Then update your dependencies:

```
$>  composer.phar update
```

Example Usage
-------------

[](#example-usage)

To get any node from an array:

```
use Rwillians\Stingray\Stingray;

$someArray = array(
    'client' => array(
        'name' = 'John Doe'
    )
);

// Getting a value using dot notation:
echo Stingray::get($someArray, 'client.name'); // Outputs: 'John Doe'

// Changing a value using dot notation:
Stingray::set($someArray, 'client.name', 'Jane Doe');

// Create a new key-value to an existent array using dot notation:
Stingray::set($someArray, 'client.address', 'Some Street, 123');
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Recently: every ~76 days

Total

6

Last Release

3689d ago

Major Versions

1.x-dev → 2.0.02015-11-11

### Community

Maintainers

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

---

Top Contributors

[![rwillians](https://avatars.githubusercontent.com/u/5093551?v=4)](https://github.com/rwillians "rwillians (27 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rwillians-stingray/health.svg)

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

PHPackages © 2026

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