Libraries tagged by Object to array
glowy/arrays
3035 Downloads
Arrays Component provide a fluent, object-oriented interface for working with arrays, allowing you to chain multiple arrays operations together using a more readable syntax compared to traditional PHP arrays functions.
romm/configuration-object
29431 Downloads
Transform any configuration plain array into a dynamic and configurable object structure, and pull apart configuration handling from the main logic of your script. Use provided services to add more functionality to your objects: cache, parents, persistence and much more.
didix16/php-apidataobject
7346 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.
timehunter/laravel-dto-generator
176 Downloads
A generator that creates PHP Data Transfer Object by array schema.
xtompie/collection-trait
1570 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.
symplify/easy-hydrator
81424 Downloads
Hydrate arrays to objects easily with PHP 7.4 and constructor injection
rogerthomas84/dtoinflator
426 Downloads
DtoInflator is a library to inflate arrays or objects into their corresponding models.
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.
drupal/core-datetime
144 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.
mjohnson/type-converter
51682 Downloads
Converts one resource to another (XML, JSON, Object, Array, Serialization).
revinate/php-getter-setter
29796 Downloads
PHP library to simplify getting and setting values in arrays and objects.
kafoso/type-formatter
4256 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
4077 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.
midorikocak/arraytools
225 Downloads
Handy array tools to creating and updating objects from arrays and converting objects to arrays and validating them.