NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #2786 most downloaded on Packagist
Converts structured data into strict objects.
Last release 7 months ago
13 Feb 2026
Release timing varies
gaps range from 4 weeks to 13 months
Nearly every release is documented
notes for 28 of 28 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
28 releases · first in 2022
One column per quarter.
Align serialize with hydrator picking up nested DTOs when #93 (by @WyriHaximus)
Be able to filter out NULL values.
Set correct release version
Set correct release version
Added interface for custom constructor resolution
Default to empty array in default serializer repository
[Regression] Casters returning null causes problem for hydrator enums.
Only try to resolve one property from the docblock to prevent parsing error
MapperSettings can now also be specified using an interface.
MapperSettings can now also be specified using an interface.Added ability to define polymorhic object mapping
Add mixed as native type in NaivePropertyTypeResolver
Ensure generic template is of object type
Corrected @template generic usage for generated hydrator
Added ability to omit all public method from serialization.
Functionally equivalent to 0.5.5, stable release.
Support nullable enum properties #28
Fix typo in PHPDoc parser regex pattern #27
Fix cache keys colliding when using multiple casters without options #26
Ignore use function/const statements when resolving the use statement map
Handle omission of data for nullable parameters and parameters with a default
Expose missing fields in UnableToHydrate exception.
Prevent type-error when casting null values for nullable properties
Fixed phpstan template notations.
The CastToDateTimeImmutable caster now supports setting a timezone.
CastToDateTimeImmutable caster now supports setting a timezone.The ObjectHydrator class was deprecated, use ObjectMapperUsingReflection and hint against the new ObjectMapper interface.
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.ObjectMapper interface was introduced, which represents both generated and reflection based mappers.ObjectHydrator interface.@param Type[] $name, @param array<Type> $name, @param array<string, Type> $name).Allow same hydrator to be used with different constructor options.
Added ability to define nested input
Added hydrateObjects; a way to hydrate a list of objects in one go
hydrateObjects; a way to hydrate a list of objects in one goInitial implementation of the object hydrator
Your coding agent can read these notes before it upgrades. Set up the MCP server →