rekalogika/mapper
Rekalogika Mapper is a PHP object mapper for converting objects, arrays, and collections using attribute-driven mapping rules. It handles nested and circular references, simplifies DTO and API resource transformations, and reduces boilerplate in Laravel and Symfony applications.
rekalogika/mapper is a PHP object-mapping package with Symfony-oriented dependency signals, not a Laravel-native package from the release notes. It can fit Laravel/PHP applications as a Composer library behind an application-level mapping service, useful for DTO/entity/domain mapping and reducing hand-written hydrators.symfony/property-info, which remains pinned to 7.x, and it drops Symfony 6.x. It is not a drop-in upgrade for apps still on Symfony 6 components.property-info/type-info 8.x. The hash change from xxh64 to xxh128 may invalidate persisted proxies or cache-derived identifiers if those hashes are stored. Dependency bumps, especially phpdocumentor/reflection-docblock, could affect docblock-based metadata parsing.symfony/property-info required for our mapping use cases? Do we persist mapper-generated proxies/caches that depend on hash values? What is the timeline and migration path for the next major interface change?symfony/property-info on 7.x, update the package, clear generated proxies/caches, and rerun mapping tests. For greenfield use, pilot in one bounded context rather than adopting package-wide.property-info version. Do not assume full Symfony 8 compatibility; v3.0.0 explicitly excludes property-info 8.x. Validate behavior with Laravel’s existing Symfony transitive dependencies.composer why-not checks; update dependencies; run static analysis and integration tests; clear caches/proxies; deploy to a canary workload; monitor mapping errors and cache invalidation; then plan for the next major interface change.xxh128 change may improve hashing performance, but benchmark representative payloads and verify cache behavior before relying on it at scale. Cache mapping metadata where possible.property-info 8.x; stale proxies/caches after the hash change; mapping exceptions after docblock/type metadata changes; unsupported dependency combinations; and future breakage from the planned interface change.How can I help you explore Laravel packages today?