rayblair/array-to-object

1.0.0 2021-01-07 16:15 UTC

This package is auto-updated.

Last update: 2024-11-08 00:11:40 UTC


README

Latest Version on Packagist Total Downloads

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

Installation

You can install the package via composer:

composer require rayblair/array-to-object

Usage

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

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

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

Credits

License

The MIT License (MIT). Please see License File for more information.