tadcka/mapper-bundle
tadcka/mapper-bundle is a PHP bundle for mapping data between objects and arrays, simplifying DTO conversion and decoupling domain entities from application layers. It provides a configurable mapper integration for bundle-based PHP applications.
Honestly assessed: this package should support exactly one decision — a "do not adopt" call, and the reasoning is worth recording so the team doesn't re-litigate it in six months.
spatie/laravel-data or Laravel API Resources) even though the package itself is dead.Adoption criteria — all would need to be true, and several cannot be:
When to look elsewhere (i.e., essentially always):
spatie/laravel-data for typed DTOs with construction from Eloquent models; Laravel API Resources if the target is purely response shaping.jolicode/automapper (Symfony ecosystem, actively maintained) or a hand-rolled mapper registry — mapping is one of the few places where explicit code beats magic, because failures are silent.jolicode/automapper or spatie/laravel-data instead — same ideas, current idioms, and you can actually ask the maintainers questions.For executives — one line: Not recommended. The package is a nine-year-old Symfony bundle with no maintainers, no users, and no documentation; adopting it would mean owning and patching abandoned third-party code to save perhaps a day of work.
For engineering — the substance:
spatie/laravel-data against two real endpoints and compare against hand-written mappers before committing.How can I help you explore Laravel packages today?