Weave Code
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

symfony/object-mapper

Symfony Object Mapper maps data between objects (e.g., DTOs to entities) using PHP attributes to define field mappings. It reduces boilerplate transformation code, supports configurable mapping logic, and integrates cleanly with Symfony applications.

View on GitHub
Deep Wiki
Context7
v8.0.8
v7.4.8
v8.0.6

Changelog (https://github.com/symfony/object-mapper/compare/v8.0.5...v8.0.6)

  • bug #63446 fix nested mapping with class-level transform (Thibaut Cholley)
  • bug #63247 Skip source mapping attempts when target class condition evaluates to false (@rrajkomar)
v7.4.6

Changelog (https://github.com/symfony/object-mapper/compare/v7.4.5...v7.4.6)

  • bug #63446 fix nested mapping with class-level transform (Thibaut Cholley)
  • bug #63247 Skip source mapping attempts when target class condition evaluates to false (@rrajkomar)
v8.0.5

Changelog (https://github.com/symfony/object-mapper/compare/v8.0.4...v8.0.5)

  • bug #63141 apply conditions to constructor arguments (@soyuka)
v7.4.5

Changelog (https://github.com/symfony/object-mapper/compare/v7.4.4...v7.4.5)

  • bug #63141 apply conditions to constructor arguments (@soyuka)
v8.0.4

Changelog (https://github.com/symfony/object-mapper/compare/v8.0.3...v8.0.4)

  • bug #63027 error when multiple targets and no condition (soyuka)
  • bug #62862 Fix mapping for missing source properties (@Ali-HENDA)
v7.4.4

Changelog (https://github.com/symfony/object-mapper/compare/v7.4.3...v7.4.4)

  • bug #63027 error when multiple targets and no condition (soyuka)
  • bug #62862 Fix mapping for missing source properties (@Ali-HENDA)
v8.0.1
v8.0.0-RC3

Changelog (https://github.com/symfony/object-mapper/compare/v8.0.0-RC2...v8.0.0-RC3)

  • bug symfony/symfony#62454 [ObjectMapper] mapping of nested classes with promoted read-only properties (@soyuka)
  • bug symfony/symfony#62455 [ObjectMapper] map to embedded object with property access (@soyuka)
  • bug symfony/symfony#62417 [ObjectMapper] bypass lazy ghost with class transform (@soyuka)
v7.4.0-RC3

Changelog (https://github.com/symfony/object-mapper/compare/v7.4.0-RC2...v7.4.0-RC3)

  • bug symfony/symfony#62454 [ObjectMapper] mapping of nested classes with promoted read-only properties (@soyuka)
  • bug symfony/symfony#62455 [ObjectMapper] map to embedded object with property access (@soyuka)
  • bug symfony/symfony#62417 [ObjectMapper] bypass lazy ghost with class transform (@soyuka)
v7.4.0-RC1

Changelog (https://github.com/symfony/object-mapper/compare/v7.4.0-BETA2...v7.4.0-RC1)

  • bug symfony/symfony#62214 [ObjectMapper] lazy loading (@soyuka)
v7.3.6
v8.0.0-BETA1

Changelog (https://github.com/symfony/object-mapper/compare/v7.3.4...v8.0.0-BETA1)

  • feature symfony/symfony#61497 [ObjectMapper] cache attributes in memory (@soyuka)
  • feature symfony/symfony#60442 [ObjectMapper] embed collection transformer (@soyuka)
  • feature symfony/symfony#61500 [JsonPath][JsonStreamer][ObjectMapper] the components are no longer experimental (@xabbuh)
  • feature symfony/symfony#61145 [ObjectMapper] Add ObjectMapperAwareInterface to set the owning object mapper instance (@soyuka)
  • feature symfony/symfony#60639 Bump Symfony 8 to PHP >= 8.4 (@nicolas-grekas)
v7.4.0-BETA1

Changelog (https://github.com/symfony/object-mapper/compare/v7.3.4...v7.4.0-BETA1)

  • feature symfony/symfony#61497 [ObjectMapper] cache attributes in memory (@soyuka)
  • feature symfony/symfony#60442 [ObjectMapper] embed collection transformer (@soyuka)
  • feature symfony/symfony#61500 [JsonPath][JsonStreamer][ObjectMapper] the components are no longer experimental (@xabbuh)
  • feature symfony/symfony#61145 [ObjectMapper] Add ObjectMapperAwareInterface to set the owning object mapper instance (@soyuka)
v7.3.4

Changelog (https://github.com/symfony/object-mapper/compare/v7.3.3...v7.3.4)

  • bug symfony/symfony#61785 [ObjectMapper] Preserve non-promoted constructor parameters (@rvanlaak)
v7.3.3

Changelog (https://github.com/symfony/object-mapper/compare/v7.3.2...v7.3.3)

  • bug symfony/symfony#61310 [ObjectMapper] read source metadata before transform (@soyuka, @rvanlaak)
v7.3.2

Changelog (https://github.com/symfony/object-mapper/compare/v7.3.1...v7.3.2)

  • bug symfony/symfony#61233 [ObjectMapper] skip reading uninitialized values (@soyuka)
  • bug symfony/symfony#61146 [ObjectMapper] initialize lazy objects (@soyuka)
  • bug symfony/symfony#61151 [ObjectMapper] update promoted properties w/ an object as target (@soyuka)
  • bug symfony/symfony#60856 [ObjectMapper] handle non existing property errors (@soyuka)
  • bug symfony/symfony#61036 [ObjectMapper] Correctly manage constructor initialization (@alanpoulain)
v7.3.1

Changelog (https://github.com/symfony/object-mapper/compare/v7.3.0...v7.3.1)

  • bug symfony/symfony#60831 [ObjectMapper] Fix parameter passed to class level transform (@mttsch)
v7.3.0-RC1

Changelog (https://github.com/symfony/object-mapper/compare/v7.3.0-BETA2...v7.3.0-RC1)

  • bug symfony/symfony#60491 [ObjectMapper] added earlier skip to allow if=false when using source mapping (@maciekpaprocki)
v7.3.0-BETA2

Changelog (https://github.com/symfony/object-mapper/compare/v7.3.0-BETA1...v7.3.0-BETA2)

  • feature symfony/symfony#60028 [ObjectMapper] Condition to target a specific class (@soyuka)
v7.3.0-BETA1

Changelog (https://github.com/symfony/object-mapper/compare/v7.2.6...v7.3.0-BETA1)

  • feature symfony/symfony#51741 [ObjectMapper] Object to Object mapper component (@soyuka)
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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport