gepur-it/request-converter-bundle
Symfony bundle from gepur-it that converts incoming HTTP request data into structured, typed objects, helping keep controllers clean and request handling consistent across your application.
$request->request->all(). That is a candidate for "buy" (adopt a package) versus "build" (30–80 lines of in-house mapping + Symfony's Serializer/Validator).Validator, and ->validated() already cover the use case. The realistic decision it informs is "what does our Symfony service use for payload mapping," which is an architecture question, not a procurement one.composer.json.Reasonable to evaluate only if all of the following hold:
#[MapRequestPayload] and #[MapQueryString] shipped natively. On 6.3+, Symfony already solves this in core — there is no gap for this bundle to fill.Look elsewhere — or don't adopt — when:
#[MapRequestPayload] (core), or symfony/serializer + symfony/validator directly, or API Platform if you want the whole resource layer. All three have maintainers, docs, and CVE processes.RequestConverter service that maps an array to a constructor via reflection or a match statement is cheaper to own than a dependency — and you keep the tests.Recommendation: Do not adopt as a dependency. Treat it as a pattern reference — read the source, extract the idea (a single seam between HTTP and typed input), and implement it in-house or lean on native Symfony. Revisit only if the repository shows sustained commits, tests, and dependent projects, which it currently does not.
To executives: This is a very small, single-maintainer Symfony component that converts incoming HTTP requests into typed PHP objects. The underlying idea is sound and worth copying; the package itself is not worth depending on. One star and zero downstream users means no one else is betting their uptime on it, and it sits in the request path — the part of the system that touches untrusted input. Recommendation: no adoption. We can get the same benefit from Symfony's built-in request mapping (6.3+) or roughly a day of in-house work, with no supply-chain exposure and no orphaned dependency to migrate off later in an audit or incident.
To engineering: The problem it names is real — controllers doing ad-hoc array digging, validation scattered, no single place to enforce input contracts. But this bundle offers no maintainer coverage, no docs beyond the README, no tests we can point to, and it's Symfony-only, so it's irrelevant to our Laravel services. On Symfony 6.3+ use #[MapRequestPayload]; otherwise a small converter service plus symfony/serializer and symfony/validator gives us the same seam with code we own. If someone wants to spike it, timebox it, read the source first, and come back with a diff against the native approach — not a composer require.
How can I help you explore Laravel packages today?