metglobal/dto-bundle
A Symfony bundle for working with data transfer objects (DTOs), making it easier to convert request or array data into typed PHP objects instead of loose arrays. Helps keep controllers and services cleaner by centralizing data mapping and structure.
spatie/laravel-data for attribute-driven DTOs with validation and casting, or CuyZ/Valinor / Symfony Serializer plus Validator if we need schema-driven mapping. On the Symfony side, the native Serializer plus Validator covers most of what this bundle was doing.Recommendation: do not adopt. The underlying need is real — untyped request and event payloads are a recurring source of validation gaps and runtime errors — but this package is not the answer. It is a Symfony bundle, it is archived, and it has essentially no adoption, which means no security patches, no compatibility work, and all maintenance cost transferred to us.
What to do instead: standardize on one maintained approach (FormRequests plus DTOs, or spatie/laravel-data) and treat this package as a design reference only. The engineering cost of an internal convention is small and the result is framework-native and supportable.
For executives: the cost here is opportunity cost and risk, not license fee. The license is MIT, so the price is zero and the total cost is ownership. Adopting archived code on the request path creates an upgrade blocker and a security review item for a problem we can solve with maintained tooling in a sprint or two.
How can I help you explore Laravel packages today?