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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| jolicode/automapper-bundle | 0.88 | Symfony bundle integrating JoliCode Automapper for fast, type-safe object-to-object mapping. Configure mappings, inject the mapper service, and convert entities, DTOs, and other objects with minimal boilerplate. | 0 | 0 | 4 | 98 | 2 | 0.4 | 19.4 | — | 2 years ago | |
| opportus/object-mapper-bundle | 0.87 | Symfony bundle that integrates the opportus/object-mapper library, registering mapper services and configuration in the dependency injection container to simplify object-to-object mapping. Helps reduce boilerplate when converting DTOs, entities, and domain objects in PHP applications. | 2 | 2 | 2 | 0 | 0 | 0.1 | — | MIT | 4 years ago | |
| json-mapper/laravel-package | 0.87 | Map JSON payloads and arrays into typed PHP objects and DTOs with this Laravel package. A fluent API defines field mappings, nested structures, and collections, with clean integration into Laravel's container, facades, and config. | 25 | 25 | 5 | 12K | 0 | 8.9 | 39.4 | MIT | 7 months ago | |
| doctrine/skeleton-mapper | 0.86 | Doctrine Skeleton Mapper is a lightweight mapping library for Doctrine entities, helping convert entity data into simple skeleton objects or arrays for APIs, read models, and presentation layers while keeping persistence concerns separate. | 101 | 102 | 11 | 439 | 0 | 0.5 | 7.1 | MIT | 2 years ago | |
| mark-gerarts/auto-mapper-plus | 0.86 | AutoMapper+ transfers data between PHP objects with minimal boilerplate, inspired by .NET AutoMapper. Define mappings with custom callbacks and operations, handle nested objects, construction, naming conventions, and map arrays/stdClass with configurable options. | 561 | 563 | 32 | 77K | 15 | 20.7 | 36.8 | MIT | 10 months ago | |
| troytft/data-mapper-bundle | 0.86 | A Symfony bundle for troytft/data-mapper that simplifies mapping arrays and objects into typed DTOs. Configure your mappings and let the mapper handle conversion, reducing repetitive hydration code across controllers and services. | 8 | 9 | 3 | 41 | 0 | 0.1 | 10.3 | — | 4 years ago | |
| zingle/api-resource-mapper | 0.85 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| fabricio872/api-modeller-bundle | 0.85 | API Modeller Bundle is a Symfony package for defining and generating API models from your application's entities and schemas. It aims to streamline endpoint scaffolding and keep request/response structures consistent. Early-stage with limited documentation and adoption, so evaluate fit carefully. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | 4 years ago | |
| artyuum/request-dto-mapper-bundle | 0.85 | — | 51 | 51 | 0 | 159 | 0 | 1.3 | 8.4 | MIT | 3 years ago | |
| honeystone/laravel-dto-tools | 0.85 | Honeystone's Laravel DTO Tools provides a lightweight base DTO with validation, casting, serialization, and Eloquent integration, making it easy to move typed, validated data between requests, services, and models in Laravel applications. | 52 | — | 1 | — | 0 | 0.3 | — | MIT | — | |
| romanzipp/laravel-dto | 0.85 | A lightweight base class for building Data Transfer Objects in Laravel. Define typed properties, cast nested DTOs and collections, and hydrate from arrays or requests, giving your app predictable, self-validating data objects instead of loose arrays. | 11 | 11 | 2 | 128 | 1 | 0.3 | 14.7 | MIT | — | |
| apimatic/jsonmapper | 0.85 | apimatic/jsonmapper is a lightweight PHP JSON-to-object mapper for converting API responses into typed models. It maps arrays/JSON to class properties with minimal setup, supports nested structures, and helps keep data hydration consistent across your application. | 24 | 26 | 7 | 507K | 7 | 10.8 | 57.2 | OSL-3.0 | 1 year ago | |
| cerbero/dto | 0.85 | Cerbero DTO is a lightweight Laravel/PHP package for creating type-safe data transfer objects from arrays and requests. It supports property casting, validation, nested DTOs, and easy serialization, helping keep application data structured and predictable. | 17 | 19 | 5 | 717 | 0 | 0.3 | 22.3 | MIT | — | |
| cerbero/laravel-dto | 0.85 | Cerbero Laravel DTO provides a simple way to define typed data transfer objects in Laravel, with attribute casting, validation, and conversion from arrays, requests, and Eloquent models. It helps keep controllers and services clean by moving data shaping and validation into reusable DTO classes. | 58 | 59 | 2 | 69 | 0 | 0.4 | 4.7 | MIT | — | |
| mark-gerarts/phpstan-automapper-plus | 0.85 | PHPStan extension for AutoMapper+ that suppresses false “map() invoked with 3 parameters” errors while MapperInterface lacks the optional $context parameter (added post-1.0, formal in 2.0). Install via extension-installer or include phpstan.neon. | 0 | 0 | 1 | 10K | 1 | 0.5 | 55.1 | — | 7 years ago | |
| boshurik/mapper | 0.85 | Lightweight Laravel/PHP object mapper for converting between arrays and DTOs/entities. Helps map input data to typed objects and back with minimal boilerplate, supporting custom mapping rules and nested structures for clean data transformations. | 2 | 2 | 0 | 14 | 0 | 1.2 | 10.4 | — | 5 years ago | |
| dam-bal/eloquentity | 0.85 | A Laravel package that extends Eloquent with entity-style models, helping you separate domain entities from database concerns while keeping familiar query building and relationships. Lightweight integration for cleaner, more maintainable applications. | 1 | — | 0 | — | 5 | 1.9 | 2.3 | MIT | 2 years ago | |
| silpo-tech/mapper-bundle | 0.85 | A Symfony bundle for silpo-tech/mapper that automatically configures object-to-object and array mapping services. Register mappers, define mapping profiles, and convert DTOs, entities, and arrays with minimal boilerplate, keeping domain and transport layers clean and decoupled. | 0 | 0 | 1 | 446 | 0 | 8.1 | 39.2 | MIT | 7 months ago | |
| bcc/auto-mapper-bundle | 0.85 | — | 63 | 63 | 20 | 1K | 4 | 3.1 | 18.4 | — | 8 years ago | |
| pixelshaped/flat-mapper-bundle | 0.85 | Symfony bundle for the Flat Mapper library, enabling fast mapping between flat arrays and PHP objects. Configure mappings with attributes or PHP, then hydrate DTOs from database rows, forms, or API payloads and flatten objects back with minimal boilerplate. | 13 | 14 | 1 | 1K | 0 | 6.1 | 28.1 | MIT | 8 months ago |
How can I help you explore Laravel packages today?