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

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

ixnode/php-array-to-object
==========================

PHP array to object converter

0.1.1(3y ago)169↓100%1MITShellPHP ^8.0

Since Dec 31Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ixnode/php-array-to-object)[ Packagist](https://packagist.org/packages/ixnode/php-array-to-object)[ RSS](/packages/ixnode-php-array-to-object/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (8)Versions (3)Used By (1)

PHP Array To Object
===================

[](#php-array-to-object)

[![Release](https://camo.githubusercontent.com/c832d3935e385bf190d699e14790334a3a3372fae4161c78d69a16a47646df27/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f69786e6f64652f7068702d61727261792d746f2d6f626a656374)](https://github.com/ixnode/php-array-to-object/releases)[![PHP](https://camo.githubusercontent.com/1bbf13029689f8044cc3080b0010efacbee3d0ccebdcf17e9538990f0f53a6c8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e302d3737376262332e7376673f6c6f676f3d706870266c6f676f436f6c6f723d7768697465266c6162656c436f6c6f723d353535353535267374796c653d666c6174)](https://www.php.net/supported-versions.php)[![PHPStan](https://camo.githubusercontent.com/973bd3af16ac962a6eb7191062ceb018266116d863d18ee07b970e1d9b3e3c4f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d4c6576656c2532304d61782d627269676874677265656e2e7376673f7374796c653d666c6174)](https://phpstan.org/user-guide/rule-levels)[![PHPCS](https://camo.githubusercontent.com/ab66c01daa05a9d45a542da43bd296d4f26384943f0ad0fc4c3f6b9916a2b62b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f50485043532d50535231322d627269676874677265656e2e7376673f7374796c653d666c6174)](https://www.php-fig.org/psr/psr-12/)[![LICENSE](https://camo.githubusercontent.com/bb82c722955b6e571e197150a1a1ac2812935b95cefe73d17f19859268d9f804/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f69786e6f64652f7068702d61727261792d746f2d6f626a656374)](https://github.com/ixnode/php-array-to-object/blob/master/LICENSE)

> A PHP array to object converter.

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

[](#installation)

```
composer require ixnode/php-array-to-object
```

```
vendor/bin/php-array-to-object -V
```

```
php-array-to-object 0.1.0 (12-31-2022 15:51:08) - Björn Hempel
```

Usage
-----

[](#usage)

```
use Ixnode\PhpArrayToObject\ArrayToObject;
```

```
$array = [
    'backgroundColor' => '255,255,255,100',
    'printCalendarWeek' => true,
    'printWeekNumber' => true,
    'printQrCodeMonth' => true,
    'printQrCodeTitle' => true,
    'aspectRatio' => 1.414,
    'height' => 4000,
];

$backgroundColor = (new ArrayToObject($array))->getBackgroundColor();
```

Development
-----------

[](#development)

```
git clone git@github.com:ixnode/php-array-to-object.git && cd php-array-to-object
```

```
composer install
```

```
composer test
```

License
-------

[](#license)

This tool is licensed under the MIT License - see the [LICENSE](/LICENSE) file for details

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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

Total

2

Last Release

1224d ago

### Community

Maintainers

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

---

Top Contributors

[![bjoern-hempel](https://avatars.githubusercontent.com/u/5531245?v=4)](https://github.com/bjoern-hempel "bjoern-hempel (3 commits)")

---

Tags

phparrayconverterobject

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

PHPackages © 2026

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