Download the PHP package andrewhathaway/arraytopathnamedobject without Composer
On this page you can find all versions of the php package andrewhathaway/arraytopathnamedobject. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download andrewhathaway/arraytopathnamedobject
More information about andrewhathaway/arraytopathnamedobject
Files in andrewhathaway/arraytopathnamedobject
Download andrewhathaway/arraytopathnamedobject
More information about andrewhathaway/arraytopathnamedobject
Files in andrewhathaway/arraytopathnamedobject
Vendor andrewhathaway
Package arraytopathnamedobject
Short Description Converts an array to a path-named object
License MIT
Homepage http://github.com/andrewhathaway/ArrayToPathNamedObject
Package arraytopathnamedobject
Short Description Converts an array to a path-named object
License MIT
Homepage http://github.com/andrewhathaway/ArrayToPathNamedObject
Please rate this library. Is it a good library?
Informations about the package arraytopathnamedobject
ArrayToPathNamedObject
Converts arrays to objects, but concatenates paths with "_" instead of having object->object. Terrible project to name. Written originally for a friend who didn't want $obj->person->follower->photo. An exception will be thrown if conflicting keys are the conflicting.
For example:
When we have $data['person']['follower']['photo'] we can access it like $obj->person_follower_photo. You can also pass JSON string in and it will return the object.
Usage:
- Can be installed via Composer.
`
All versions of arraytopathnamedobject with dependencies
PHP Build Version
Package Version
No informations.
The package andrewhathaway/arraytopathnamedobject contains the following files
Loading the files please wait ...