PHPackages                             vgleb/object-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. vgleb/object-array

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

vgleb/object-array
==================

Object behavior for Array

v0.9.1(10y ago)326MITPHPPHP &gt;=5.3.0

Since Jun 23Pushed 10y ago1 watchersCompare

[ Source](https://github.com/VGleb/ObjectArray)[ Packagist](https://packagist.org/packages/vgleb/object-array)[ Docs](https://github.com/VGleb/ObjectArray)[ RSS](/packages/vgleb-object-array/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (4)Used By (0)

ObjectArray
===========

[](#objectarray)

Install
-------

[](#install)

Install this package through Composer

```
$ composer require vgleb/object-array
```

Laravel 5 Implementation
------------------------

[](#laravel-5-implementation)

Add a reference to `LaravelObjectArrayServiceProvider` to the providers array in `config/app.php`:

```
'providers' => [
    'VGleb\ObjectArray\LaravelObjectArrayServiceProvider',
]

```

Then you can "make" (or inject) a `ObjectArray` instance anywhere in your app:

```
$oa = \App::make('VGleb\ObjectArray\ObjectArray', [$array]);

```

or

```
use VGleb\ObjectArray\ObjectArray;

```

Usage
-----

[](#usage)

```
$oa = new ObjectArray([
    'foo' => 'bar',
    'oa'  => new ObjectArray(['foo' => 'bar']),
]);

echo $oa->foo;
echo $oa->oa->foo;
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Voronov Gleb](https://github.com/VGleb)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity50

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

Total

2

Last Release

4004d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2346480?v=4)[Gleb Voronov](/maintainers/VGleb)[@VGleb](https://github.com/VGleb)

---

Tags

arrayobjectarray

### Embed Badge

![Health badge](/badges/vgleb-object-array/health.svg)

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

###  Alternatives

[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.0k](/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.2k417.9M1.6k](/packages/nette-utils)[league/config

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

564323.7M35](/packages/league-config)[cuyz/valinor

Dependency free PHP library that helps to map any input into a strongly-typed structure.

1.5k11.7M152](/packages/cuyz-valinor)[aimeos/map

Easy and elegant handling of PHP arrays as array-like collection objects similar to jQuery and Laravel Collections

4.3k443.7k14](/packages/aimeos-map)

PHPackages © 2026

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