Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Object Mapper Laravel Package

league/object-mapper

A lightweight object-to-object mapper for PHP that converts one class into another using reflection and PHP attributes. Define property mappings, handle nested objects, arrays, and collections, and reduce boilerplate when transforming DTOs, entities, and API payloads.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
cyvelnet/laravel5-fractal 0.86 Laravel 5 Fractal offers a simple Laravel-friendly wrapper around League Fractal for transforming Eloquent models and collections into clean API responses, with reusable transformers, includes, serializers, and pagination support. 79 — 21 — 1 1.5 — MIT 2 years ago
View on GitHub
symfony-notes/object-transformer-bundle 0.86 Symfony bundle that integrates the ObjectTransformer library, providing service configuration and dependency injection for transforming objects, DTOs, and arrays with reusable, configurable transformers in Symfony applications. 0 1 — 0 — 0.0 — — —
View on GitHub
league/uri-schemes 0.86 A PHP library for working with URI schemes, offering dedicated classes to parse, validate, and manipulate HTTP, FTP, WebSocket, and other scheme-specific URIs. Built on league/uri components for consistent, standards-compliant URI handling. 210 223 8 17K 1 0.7 18.6 MIT 7 years ago
View on GitHub
league/uri-components 0.86 Immutable value objects for working with URI components in PHP, including scheme, host, path, query, and fragment handling with IDN and IPv4 support. 318 323 5 8M 0 31.0 64.8 MIT 1 week ago
View on GitHub
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
View on GitHub
json-mapper/laravel-package 0.85 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
View on GitHub
json-mapper/json-mapper 0.85 JSON Mapper turns raw JSON from APIs into strongly-typed PHP objects. Define a mapper class, cast and nest values, and get clean, validated data models instead of arrays—with framework support for Laravel. 220 224 30 124K 9 24.4 47.4 MIT 1 week ago
View on GitHub
czim/laravel-dataobject 0.85 Lightweight data objects for Laravel: define typed properties, hydrate instances from arrays, and convert them back to arrays or JSON. A simple way to keep request, config, and domain data structured, consistent, and easy to pass around with minimal boilerplate. 11 11 0 2K 0 0.1 30.7 MIT —
View on GitHub
yiisoft/hydrator 0.85 Yii Hydrator populates typed objects from arrays and other input using attributes and property mapping. It handles type casting, nested hydration, and dependency injection, offering PHP and Laravel apps a fast, flexible alternative to manual DTO construction. 34 34 6 24K 12 6.6 44.1 BSD-3-Clause 10 months ago
View on GitHub
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
View on GitHub
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
View on GitHub
doctrine/skeleton-mapper 0.85 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
View on GitHub
lexik/fixtures-mapper-bundle 0.85 Symfony bundle for mapping fixture data to Doctrine entities, helping you define reusable fixtures and load test data cleanly. It decouples fixture definitions from loading logic, making database seeding simpler and more maintainable. 21 25 5 2 1 0.2 0.4 MIT —
View on GitHub
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
View on GitHub
gathercontent/laravel-fractal 0.85 A Laravel wrapper for the Fractal library that helps you transform Eloquent models, collections, and paginators into clean API responses with support for includes, serializers, and flexible resource transformations. 50 — 11 — 5 2.0 1.5 — —
View on GitHub
opportus/object-mapper-bundle 0.85 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
View on GitHub
laminas/laminas-hydrator 0.85 Laminas Hydrator converts arrays into objects and extracts objects back into arrays. It supports naming strategies, filters, hydration/extraction strategies, nested objects, and reusable data mapping for PHP applications. 129 132 35 500K 12 33.9 64.2 BSD-3-Clause 1 month ago
View on GitHub
symfony/serializer 0.85 The Symfony Serializer component converts object graphs and data structures to and from arrays, JSON, XML, and other formats, handling normalization, denormalization, and encoding for flexible data exchange. 2,532 2,558 81 16M 0 50.0 61.7 MIT 2 days ago
View on GitHub
Context7
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 —
View on GitHub
std-out/simple-data-objects 0.85 Lightweight, attribute-driven DTOs for PHP 8.4+ with zero runtime reflection and compiled per-class closures for fast hydration and serialization. Works standalone or in Laravel 12–13. 35 35 0 202 0 27.3 13.2 MIT 3 weeks ago
View on GitHub
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console