halloverden/symfony-request-entity-bundle
A Symfony bundle that maps incoming request data directly onto entity objects, simplifying form-free request handling and reducing boilerplate in controllers.
Architecture fit
config/bundles.php and a compiler pass that registers a request value resolver. A Laravel application has no bundle kernel, no Bundle base class, and no tagged-service auto-configuration layer.EntityValueResolver plus the #[MapEntity] attribute (Symfony 6.2+) supersedes the old SensioFrameworkExtraBundle ParamConverter pattern this bundle is modeled on. The package is recreating platform functionality rather than filling a gap.{user} type-hint resolution and explicit Route::bind), which is core framework behavior and already covers the same use case with better ergonomics.Integration feasibility
HttpFoundation, Routing, Console) are shared; bundles and DependencyInjection are not part of Laravel's request lifecycle.Technical risk
Key questions
composer.json constraint matrix or CI badge to prove it?Stack fit
SensioFrameworkExtraBundle and have not moved to native value resolvers. Even there, the migration target is the framework, not this package.Migration path
#[MapEntity]), which is a mechanical, low-risk refactor with identical semantics and a permanent maintenance saving.Compatibility
sensio/framework-extra-bundle as a transitive or peer dependency, PHP 7.4/8.0 floor. Modern Symfony 7 requires the Doctrine bridge's resolver instead.Sequencing
EntityValueResolver on the same routes.symfony/*-bundle packages in Laravel repos to catch future cases of the same confusion.Maintenance
Support
Scaling
#[MapEntity]. No throughput concern.Failure modes
Ramp-up
Recommendation
How can I help you explore Laravel packages today?