PHP AutoMapper
Transform Your Data Effortlessly with PHP AutoMapper
Efficient Object Mapping
PHP AutoMapper provides a simple and efficient way to map objects of different types to each other. This is particularly useful when transforming data models to DTOs (Data Transfer Objects).
Flexible Configuration
Configure how source objects should be mapped to destination objects. This includes specifying custom mapping logic for individual properties or using type converters for complex transformations.
Support for Collections
It handles collections of objects out of the box. Map an array or an iterable of source objects to an array or an iterable of destination objects with a single command.