AutoMapper 9 is out!

JoliCode - JoliCodeBlog - 07/05
We are pleased to announce the release of AutoMapper 9.0 which brings a completely new experience creating mappers between objects 🎉 Let's be honest, the first version of this library was merely a proof of concept. Despite being used in production on some of our projects, it was

We are pleased to announce the release of AutoMapper 9.0 which brings a completely new experience creating mappers between objects 🎉

Let’s be honest, the first version of this library was merely a proof of concept. Despite being used in production on some of our projects, it was difficult to use, understand and configure for newcomers.

This new version is a rewriting of a lot of internals, and brings a lot of new features and improvements. We hope you will enjoy it as much as we do 😍

Section intitulée what-is-the-automapperWhat is the AutoMapper?

AutoMapper is a PHP object-object mapper. Object-object mapping works by transforming an input object (or array) of one type into an output object (or array) of a different type. What makes AutoMapper interesting is that it provides some conventions to take the dirty work out of figuring out how to map type A to type B. As long as type B follows AutoMapper’s established convention, almost zero configuration is needed to map two types.

When a transformation from A to B is done, AutoMapper will generate a Mapper class that will make the transformation. It looks a lot like Symfony’s normalizer and is optimized as much as ...
[Courte citation de 8% de l'article original]

Loading...