svb/dto-generator-bundle
A Symfony bundle that generates typed DTO classes from your entities, arrays, or config, complete with constructors, getters, setters, and mapping helpers. A console command lets you scaffold and regenerate DTOs quickly, reducing boilerplate in your service and API layers.
Adopt when:
Bundle suffix and the vendor namespace indicate a Symfony bundle, not a Laravel package. Confirm before spending evaluation time.Look elsewhere when:
For executives: This is a low-cost experiment, not a platform bet. It is MIT-licensed and free, and the output is plain PHP classes — if the tool is abandoned, nothing breaks and nothing needs rewriting. The upside is less hand-written boilerplate and fewer shape-mismatch bugs at API boundaries. The risk is maintenance: zero stars and zero dependents mean no external adoption signal, so it should be framed as an in-house utility with a named owner, not a dependency we rely on.
For engineering: Treat it as a codegen step in CI, not a library. Pin the version, commit the generated DTOs so every change is a reviewable diff, and keep the ability to hand-write or hand-edit classes when the generator falls short. Exit cost is deliberately near zero — that low lock-in is the actual selling point, more than the feature set. A one-to-two-day spike against three or four representative endpoints will tell us whether the output matches our conventions closely enough to be worth the CI plumbing; if it does not, we stop there and lose the spike.
How can I help you explore Laravel packages today?