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

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

rayblair/array-to-object
========================

1.0.0(5y ago)09[1 issues](https://github.com/rayblair06/array-to-object/issues)MITPHPPHP ^7.1

Since Jan 7Pushed 5y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (2)Used By (0)

ArrayToObject
=============

[](#arraytoobject)

[![Latest Version on Packagist](https://camo.githubusercontent.com/7affe2bff2ef8ce8b1cb7c52b2eb203626439632c63559839ecf3fc703dce46e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726179626c6169722f61727261792d746f2d6f626a6563742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rayblair/array-to-object)[![Total Downloads](https://camo.githubusercontent.com/106e54324e0b88fa5d5dfdfb3fcbf469d05d255f98c5ec0e595ac2b4ab3d032f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726179626c6169722f61727261792d746f2d6f626a6563742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rayblair/array-to-object)

A simple class to convert a nested array to a nested object

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require rayblair/array-to-object
```

Usage
-----

[](#usage)

```
// Returns object
$object = ArrayToObject::convert($array);
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

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

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

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

Credits
-------

[](#credits)

- [Ray Blair](https://github.com/rayblair06)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

1957d ago

### Community

Maintainers

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

---

Tags

Array to objectrayblair

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[knplabs/knp-disqus-bundle

6480.2k](/packages/knplabs-knp-disqus-bundle)[codexshaper/laravel-menu-builder

Laravel Drag and Drop Menu Builder

932.6k](/packages/codexshaper-laravel-menu-builder)[web200/magento-seo

Magento 2 Seo Module

1416.8k](/packages/web200-magento-seo)

PHPackages © 2026

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