PHPackages                             rafrsr/lib-array2object - 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. rafrsr/lib-array2object

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

rafrsr/lib-array2object
=======================

Array to object conversion library

v2.0.0(4mo ago)418.0k↓50%4MITPHPPHP &gt;=8.1

Since Jun 22Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/rafrsr/lib-array2object)[ Packagist](https://packagist.org/packages/rafrsr/lib-array2object)[ RSS](/packages/rafrsr-lib-array2object/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (3)Versions (13)Used By (4)

lib-array2object
================

[](#lib-array2object)

[![Build Status](https://camo.githubusercontent.com/f7437e6d2673cdb3a35df7179e41a8379f08afcc538e19f4359bc9f06483a264/68747470733a2f2f7472617669732d63692e6f72672f7261667273722f6c69622d6172726179326f626a6563742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rafrsr/lib-array2object)[![Coverage Status](https://camo.githubusercontent.com/1a468c78af6f01cf273845b0af7730c20ffcc7d338b5f35f139f84db135b6fbf/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7261667273722f6c69622d6172726179326f626a6563742f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/rafrsr/lib-array2object?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/adc1d5ca02da872d873d4bcb9bdf87847512cccfb8dacf83a175853996f45caf/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7261667273722f6c69622d6172726179326f626a6563742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/rafrsr/lib-array2object/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/44754c294f3c5775494bfe6a917c24d65f80497e8f15f098c7d4e981f4dbdbef/68747470733a2f2f706f7365722e707567782e6f72672f7261667273722f6c69622d6172726179326f626a6563742f76657273696f6e)](https://packagist.org/packages/rafrsr/lib-array2object)[![Latest Unstable Version](https://camo.githubusercontent.com/b66248f8db43fd7a7e361004f772a89d1b4ae2add585fd705358a6db81ad4771/68747470733a2f2f706f7365722e707567782e6f72672f7261667273722f6c69622d6172726179326f626a6563742f762f756e737461626c65)](//packagist.org/packages/rafrsr/lib-array2object)[![Total Downloads](https://camo.githubusercontent.com/b095aa1645f8f9d45d52ae4a42abcc76ae1f2d3299ad8aace1ddf7e93bbfa7e9/68747470733a2f2f706f7365722e707567782e6f72672f7261667273722f6c69622d6172726179326f626a6563742f646f776e6c6f616473)](https://packagist.org/packages/rafrsr/lib-array2object)[![License](https://camo.githubusercontent.com/d637dc6a53e167df7d0fe77989890604b3f046b8be61275e7a405850c3aa00e1/68747470733a2f2f706f7365722e707567782e6f72672f7261667273722f6c69622d6172726179326f626a6563742f6c6963656e7365)](https://packagist.org/packages/rafrsr/lib-array2object)

[![SensioLabsInsight](https://camo.githubusercontent.com/ea3ac048225bad4d3fe97697fe57e2f1c3be8cf7b7463eab8aa13d9b9dedfa04/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f62356536663138652d353234662d346436352d396634372d3834343137373132623236342f6269672e706e67)](https://insight.sensiolabs.com/projects/b5e6f18e-524f-4d65-9f47-84417712b264)

Array to object conversion library. Convert a array to a object using simple and common property annotations

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

[](#installation)

1. [Install composer](https://getcomposer.org/download/)
2. Execute: `composer require rafrsr/lib-array2object`

Usage
-----

[](#usage)

Only need the class with common annotations

```
