jolicode/automapper
A fast, flexible object-to-object mapper for PHP inspired by .NET's AutoMapper. Map between objects, arrays, and scalars using attributes, with automatic type conversion, nested mappings, custom transformers, and zero-config defaults. Framework-agnostic, works great with Symfony.
jolicode/automapper is a framework-agnostic PHP object mapper that uses attributes and generated mapper code. It fits Laravel applications that use explicit DTOs, action/service layers, API payload mapping, or anti-corruption layers. It is not Eloquent-aware, so mapping models with relations, lazy loading, casts, and circular references requires deliberate boundaries.How can I help you explore Laravel packages today?