mi/rest-extra-bundle
A Symfony bundle that extends your application's REST API capabilities with reusable helpers and services for building, structuring, and customizing JSON endpoints, reducing boilerplate and keeping API code consistent across projects of any size.
Consider only if all of these are true:
Look elsewhere — or close the evaluation outright — if:
Route::apiResource, form requests, and API resources already cover the same ground.#[Route], #[MapRequestPayload], #[MapQueryString], #[IsGranted], #[Cache] — deliver the same annotation-free controllers with first-party support and a long support window. FOSRestBundle itself is effectively superseded; wrapping it is wrapping a sunset.composer.json constraints before any pilot; expect to be pinned.Verdict: do not adopt. Close the evaluation.
This is a free, MIT-licensed Symfony helper that removes repetitive annotations from controllers built on FOSRestBundle and SensioFrameworkExtraBundle. It is not a Laravel package, so it does not apply to our primary stack at all. Even on Symfony, it solves a problem the framework itself has since solved natively via PHP 8 attributes.
For executives: The cost isn't the license — it's the ownership. Zero stars, zero dependents, no release since mid-2021 means no maintainer, no bug triage, no security patches, and no upgrade path. In exchange we'd save maybe a few lines of boilerplate per controller. The trade is clearly negative: an unmaintained dependency sitting in our request-handling path is a recurring upgrade tax and an audit finding, and the replacement cost is under one engineer-day.
For engineering: The pattern — annotation-free, convention-driven controllers — is correct and worth keeping. The dependency isn't. Adopt native attributes (#[Route], #[MapRequestPayload], #[MapQueryString], #[IsGranted]) directly, and if the legacy FOSRestBundle surface still needs smoothing, write a ~100-line internal convention helper we own. That gets us the ergonomics with a maintenance story we control.
Ask: Reject the dependency, reallocate the evaluation budget to a Symfony attribute-migration checklist, and inventory any service still relying on FOSRestBundle so the migration lands on the roadmap rather than in an incident.
How can I help you explore Laravel packages today?