NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2475 most downloaded on Packagist
An AutoMapper for PHP
Latest stable
1.5.0
Last release 11 months ago
24 Dec 2025
Release timing varies
gaps range from 2 weeks to 2.3 years
Nearly every release is documented
notes for 29 of 30 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
32 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
The first release for the new major version. Main changes so far are:
The first release for the new major version. Main changes so far are:
PHP 8.5 compatibility
PHP 8.5 compatibility (#89)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fix PHP8.4 deprecations (#87 & #88, thanks @tarlepp and @andrew-demb)
Fix PHP8.4 deprecations (#87 & #88, thanks @tarlepp and @andrew-demb)
Bugfix #85: pass context in FromProperty->mapTo
Bugfix #85: pass context in FromProperty->mapTo
Adds the $context parameter to custom mappers
$context parameter to custom mappers (#83)MapToAnyOf (#70 #67, thanks @peter-si)#59 Resolves a breaking bug when mapping to a null value
#59 Resolves a breaking bug when mapping to a null value
Resolves #58: mapping to classes with typed properties.
Resolves #58: mapping to classes with typed properties.
Clone the default mapping operation (#56, @iborysenko)
Clone the default mapping operation (#56, @iborysenko)
Fixes SetTo not applying when the source property is missing
Fixes SetTo not applying when the source property is missing (#53)
Performance increase for resolving mappings (@Toilal)
Add destination class to the context array (@Toilal)
Add extra validation to mapMultiple (Thanks @gabbanaesteban)
Allow registering mappings with interfaces
Allow registering mappings with interfaces
Allow automatic registering of mappings by using a new option.
Allow automatic registering of mappings by using a new option.
Fixes an issue when setting a private property with the same suffix
Fixes an issue when setting a private property with the same suffix (#33)
Add the destination object to the context when using mapToObject (Thanks @BoShurik)
Add the destination object to the context when using mapToObject (Thanks @BoShurik)
Allow passing of context to custom constructor (Thanks @BoShurik)
Allow passing of context to custom constructor (Thanks @BoShurik)
PropertyAccess is split up into reading and writing
Bugfixes:
null source values (#12)Features:
SetTo operationFix a bug (#25) where private properties with the same suffix were being mapped incorrectly.
Fix a bug (#25) where private properties with the same suffix were being mapped incorrectly.
Allow MapTo to be chained from FromProperty
Major changes:
Fix a bug where MapTo would not make use of the assigned nameresolver
Fix a bug where MapTo would not make use of the assigned nameresolver (#17)
Add MapFromWithMapper (Thanks @slava-v)
See #13, return NULL for a NULL source.
See #13, return NULL for a NULL source.
Allow setting of custom constructor callback
Fix a bug with inherited properties
Fix a bug with inherited properties (#10)
Removed the property existence check in forMember (see #8)
Another bugfix release with MapFrom and differently named properties
Another bugfix release with MapFrom and differently named properties
Bugfix for MapFrom registering on a non-identical propertyname
Bugfix for MapFrom registering on a non-identical propertyname
Allow setting of custom name resolvers
CallbackNameResolverSupport mapping from a stdClass
fromProperty operation that allows specifying the source property nameReversible interface, allowing operation to be reversedfromProperty reversibleNothing published for this version
Nothing published for this version
One column per quarter.