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 Transformer Laravel Package

it-bens/object-transformer

A Laravel/PHP package for transforming objects from one type to another, mapping properties and values through configurable transformations so you can convert DTOs, models, and API payloads cleanly without repetitive boilerplate code.

Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
nilportugues/api-transformer 0.83 A flexible PHP package for transforming API responses into clean, consistent output. Define transformers to shape models and arrays, handle nested data, and serialize results for JSON APIs with minimal boilerplate and full control over the final payload. 9 9 10 456 3 1.1 0.4 MIT 9 years ago
View on GitHub
it-bens/reflection-constructor 0.82 Provides a reflection-based wrapper around PHP class constructors, letting you inspect parameters and instantiate objects by resolving constructor dependencies automatically. Useful for simple dependency injection, factories, and dynamic object creation without a full container. 0 — 0 — 0 0.0 — MIT 4 years ago
weblabel/data-transformer 0.81 weblabel/data-transformer is a Laravel/PHP package for transforming arrays, objects, and application data into clean, consistent output using reusable rules. It helps keep APIs, resources, and presentation logic organized and maintainable. 0 0 0 57 0 0.0 24.4 MIT 4 years ago
View on GitHub
opportus/object-mapper 0.81 Opportus ObjectMapper is a PHP library for mapping data between objects and arrays with configurable strategies. It helps transform DTOs and entities cleanly, reducing repetitive boilerplate in Laravel and plain PHP projects. 18 — 1 — 0 0.1 — MIT 4 years ago
symfony-notes/object-transformer-bundle 0.81 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
danilovl/object-to-array-transform-bundle 0.81 Symfony bundle that converts objects to arrays using configurable field mappings. Define fields in parameters and provide corresponding getters on your entities. Works with PHP 8.5+ and Symfony 8+. 1 1 0 103 0 14.0 24.8 MIT 9 months ago
View on GitHub
andrew-gos/class-builder 0.80 PHP library to construct objects from arrays or scalars using constructor reflection. Supports interfaces/abstracts via AvailableInheritors, conditional building with BuildIf checkers, typed arrays, variadics, and union/intersection parameter types. 1 2 0 60 0 0.0 20.6 MIT —
View on GitHub
symfony/object-mapper 0.80 Symfony Object Mapper maps one object to another using PHP attributes, giving you a clean, declarative way to handle DTOs and transformations without boilerplate. Part of the Symfony ecosystem. 36 36 2 445K 0 32.6 64.9 MIT 1 week ago
View on GitHub
Context7
ixnode/php-array-to-object 0.80 ixnode/php-array-to-object converts nested PHP arrays into object instances, giving you property-style access instead of array keys. A small, dependency-free helper for config, API payloads, and JSON-decoded data. 1 1 0 1 0 0.3 2.4 MIT 3 years ago
View on GitHub
league/object-mapper 0.80 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. 36 36 4 1K 3 1.0 21.8 MIT —
View on GitHub
coder-at-heart/object-models 0.80 — 5 6 0 1 0 0.0 0.9 MIT —
View on GitHub
arens-myzyri/data-transformation-and-serialization 0.80 — 4 4 1 0 0 0.7 — — 2 years ago
View on GitHub
troytft/data-mapper-bundle 0.79 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
View on GitHub
thruster/data-mapper 0.79 Thruster Data Mapper is a Laravel/PHP package for mapping arrays, objects, and DTOs through a clean, configurable API. Define mappings once to transform and hydrate data reliably across APIs, requests, and domain layers. 1 1 0 13 0 0.0 12.1 MIT 10 years ago
View on GitHub
std-out/simple-data-objects 0.79 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
nicolopignatelli/valueobjects 0.79 Laravel-friendly PHP value objects library that helps you model domain concepts as immutable, self-validating objects (like Email, Money, Url, etc.). Encourages DDD patterns, clearer APIs, and safer data handling with consistent validation and comparison. 0 430 — 0 — 0.0 — — —
View on GitHub
js-transformer/js-transformer 0.79 JS Transformer provides a simple PHP API for transforming JavaScript code and assets, making it easy to integrate JS transformations into Laravel or PHP workflows. It helps streamline frontend processing while keeping build steps lightweight and consistent. 5 5 0 4K 0 0.0 39.7 MIT 9 years ago
View on GitHub
surgiie/transformer 0.79 Surgiie/Transformer provides a fluent, declarative API for reshaping arrays and Eloquent data in Laravel. Define reusable blueprints to rename keys, transform values, and format output, keeping controllers and API responses clean, consistent, and easy to maintain. 126 — 7 — 0 9.1 — MIT 7 months ago
b2pweb/bdf-serializer 0.79 — 0 0 0 871 0 0.0 40.6 MIT —
View on GitHub
phrity/util-transformer 0.78 Type transformers, normalizers, and resolvers for PHP. Convert values between types, encode and decode JSON, flatten nested arrays, and stack transformers with recursion and first-match resolvers for flexible data transformation. 0 0 0 50K 0 20.6 64.3 MIT 1 month 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.
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels
wazza/laravel-db-encryption
hokny/laravel-generator
vonsogt/backup
jengo/queues
jeremykenedy/laravel-observability
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums