eventsauce/object-hydrator
Magic-less object hydration and serialization for PHP. Map arrays/decoded JSON to DTOs, commands, queries, and events by inspecting constructors and public getters—no private-property reflection. Supports custom keys, casting, and optional code generation for speed.
Full Changelog: https://github.com/EventSaucePHP/ObjectHydrator/compare/0.4.2...0.4.3
Full Changelog: https://github.com/EventSaucePHP/ObjectHydrator/compare/0.4.0...0.4.1
ObjectMapper interface was introduced, which represents both generated and reflection based mappers.ObjectHydrator interface.[@param](https://github.com/param) Type[] $name, [@param](https://github.com/param) array<Type> $name, [@param](https://github.com/param) array<string, Type> $name).ObjectHydrator class was deprecated, use ObjectMapperUsingReflection and hint against the new ObjectMapper interface.ListOfObjects class was deprecated, use the IterableList object instead.KeyFormattingWithoutConversion class was deprecated, use the KeyFormatterWithoutConversion class instead.ObjectHydrator class was converted into an interface named ObjectMapper, the main implementation is ObjectMapperUsingReflection.PropertyDefintion class was renamed to PropertyHydrationDefinition to be symmetrical with the new PropertySerializationDefinition.DefinitionProvider::provideDefinition method was deprecated in favour of the new provideHydrationDefinition for symmetry with provideSerializationDefinition.KeyFormatter interface was changed by adding a keyToPropertyName method, needed for serialization.ObjectHydrator::hydrateObjects return type class was renamed from ListOfObjects to IterableList.Full Changelog: https://github.com/EventSaucePHP/ObjectHydrator/compare/0.3.1...0.4.0
Full Changelog: https://github.com/EventSaucePHP/ObjectHydrator/compare/0.3.0...0.3.1
Full Changelog: https://github.com/EventSaucePHP/ObjectHydrator/compare/0.2.0...0.3.0
Full Changelog: https://github.com/EventSaucePHP/ObjectHydrator/compare/0.1.0...0.2.0
Full Changelog: https://github.com/EventSaucePHP/ObjectHydrator/commits/0.1.0
How can I help you explore Laravel packages today?