Libraries tagged by Object to array
eboreum/caster
9716 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.
assegaiphp/collections
3973 Downloads
The assegaiphp/collections package is a powerful tool for creating and managing groups of related objects in your AssegaiPHP projects. With this library, you can easily organize and manipulate data in a variety of ways, such as arrays, lists, sets, and maps. The package offers a wide range of methods for adding, removing, and manipulating items, as well as sorting, searching, and filtering your collections. It is fully compatible with PHP 7.x and above and is designed to be lightweight and easy to use. Whether you're building a web application, a CLI tool, or a standalone script, assegaiphp/collections is the perfect choice for working with data. With its simple and intuitive interface, you can easily start working with collections in your project right away.
imponeer/toarray-interface
16202 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.
danilovl/object-to-array-transform-bundle
532 Downloads
Symfony bundle provides convert object to an array by configuration fields.
chanshige/object-hydrator
923 Downloads
An ObjectHydrator that array to object to array conversion
rafrsr/lib-array2object
18495 Downloads
Array to object conversion library
petrgrishin/array-map
5857 Downloads
The object oriented approach to working with arrays on PHP
emulgeator/array-to-class-mapper
14481 Downloads
A library what is capable of transforming a multilevel array to a class object
cryonighter/object-column
6051 Downloads
This package provides the object_column() function, which works similarly to the array_column() function of the standard library, but having the ability to work with objects
atomastic/arrays
7145 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.
hiqdev/generated-hydrator
817 Downloads
An Object Hydrator that allows very fast array to object to array conversion
makinacorpus/generated-hydrator
2593 Downloads
An Object Hydrator that allows very fast array to object to array conversion
wundii/data-mapper-symfony-bundle
1762 Downloads
A Symfony integration for wundii/data-mapper, modern and fast object mapper for PHP 8.2+. Strict types. Converts CSV, JSON, XML, YAML, NEON, arrays, and objects to PHP objects.
web-fu/proxy
1214 Downloads
Library that allows to access array and object and proxy them
perfilov/php-dto-packer
3049 Downloads
Blazing-fast PHP library to convert arrays, JSON & objects into strongly typed DTOs (and back)