Libraries tagged by Array to object
imponeer/toarray-interface
15517 Downloads
A PHP interface defining a standard method for converting objects to arrays. Ensures consistent method naming and return type for array conversion across different classes.
jan-maennig/sorty
2427 Downloads
Library to sort arrays and array objects.
timehunter/laravel-dto-generator
176 Downloads
A generator that creates PHP Data Transfer Object by array schema.
didix16/php-apidataobject
7387 Downloads
A simple library that allows easy handle incoming data from any sources (specially from API sources) and put data in a fashion way which is more practical to access it like an array or object. It allows to implement a DTO very fast.
xtompie/collection-trait
1628 Downloads
Traits to build collections of specific objects
rotexsoft/versatile-collections
5613 Downloads
A collection package that can be extended to implement things such as a Dependency Injection Container, RecordSet objects for housing database records, a bag of http cookies, or technically any collection of items that can be looped over and whose items can each be accessed using array-access syntax or object property syntax.
rafrsr/lib-array2object
17479 Downloads
Array to object conversion library
symplify/easy-hydrator
81424 Downloads
Hydrate arrays to objects easily with PHP 7.4 and constructor injection
rogerthomas84/dtoinflator
436 Downloads
DtoInflator is a library to inflate arrays or objects into their corresponding models.
drupal/core-datetime
147 Downloads
This class wraps the PHP DateTime class with more flexible initialization parameters, allowing a date to be created from an existing date object, a timestamp, a string with an unknown format, a string with a known format, or an array of date parts. It also adds an errors array and a __toString() method to the date object.
aza/phpgen
3224 Downloads
AzaPhpGen - Anizoptera CMF PHP code generation (dump) component. Allows to dump complex arrays, objects, closures and basic data types as php code. In part, this can be called a some sort of serialization. You can customize your dumped php code as you wish.
mjohnson/type-converter
51682 Downloads
Converts one resource to another (XML, JSON, Object, Array, Serialization).
revinate/php-getter-setter
29826 Downloads
PHP library to simplify getting and setting values in arrays and objects.
kafoso/type-formatter
4304 Downloads
Minimalistic, lightweight library for converting PHP data types to readable strings. Great for type-safe outputs, exception messages, transparency during debugging, and similar things. Also helps avoiding innate problems such as printing recursive objects and large arrays.
eboreum/caster
4149 Downloads
Cast any PHP value to a sensible, human readable string. Great for type-safe outputs, exception messages, transparency during debugging, and similar things. Also helps avoiding innate problems such as printing endless, circular referencing objects (endless recursion), limits the output for large arrays and long strings, and prevents (opt-in) the outputting of sensitive strings like passwords.