wobblecode/rest-bundle
A Symfony bundle for building RESTful APIs with structured JSON responses, serialization, pagination, and consistent error handling. It provides reusable helpers and configuration to reduce boilerplate when exposing resources and integrating REST endpoints into Symfony applications.
Consider it (as reference or fork) when:
composer require.Look elsewhere when:
For executives: This is a small, MIT-licensed open-source component that generates REST endpoints from an application’s existing screens. The idea is attractive — faster time-to-API without a rewrite — but the artifact is not a safe dependency: last shipped in December 2020, three stars, no downstream users, and it targets Symfony rather than our Laravel stack. Recommendation: do not adopt; spend at most a one-day spike to validate whether the pattern is worth building in-house. Cost of evaluating is near zero; cost of depending on it is unbounded maintenance and security exposure.
For engineering: Treat it as a reference implementation for controller-to-resource mapping, not a library. If the pattern proves valuable, we own a small internal adapter with tests, an explicit route allowlist, and contract tests — roughly a few days of work — which is cheaper over a two-year horizon than resurrecting an abandoned bundle. If we want a supported off-the-shelf answer, API Platform is the comparison to make.
Bottom line for the roadmap: this does not earn a line item. It earns a footnote in the “expose the app as an API” decision record, with the recommendation to design the contract explicitly and keep presentation and API layers decoupled.
How can I help you explore Laravel packages today?