Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Rest Extra Bundle Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Framework-fit decision (highest-value output of this evaluation): This is a Symfony bundle, not a Laravel package. If our product surface is Laravel, the evaluation closes here — no spike, no vendor review, no further engineering time. Confirming that in one pass is worth more than any feature this package could offer.
  • Roadmap / migration signaling: The package exists to reduce annotation boilerplate on top of FOSRestBundle + SensioFrameworkExtraBundle. Its very existence is a signal that we (or a team we're inheriting from) are on a legacy Symfony 3.x/4.x controller style. The PM decision this informs is "when do we schedule the attribute migration," not "do we add this dependency."
  • Build vs. buy (and the answer is neither): The value delivered is a small DX convenience — collapsing repetitive route/serialization annotations into conventions. A mid-level engineer can reproduce the relevant convention internally in under a day. Buying is free (MIT) but not free in total cost: we become the sole maintainer of an unmaintained dependency.
  • Adoption-risk scoping: 0 stars, 0 dependents, last release 2021-07-02. We would be the first and only production user. That is a defensible choice only for internal tooling on a frozen stack — never for anything in the customer request path.
  • Use-case definition (for the record): Legitimate fit is narrow — a Symfony 3.4/4.4 service already running FOSRestBundle, with annotation noise measurably slowing controller work, and no migration budget this quarter. Outside that box, the package has no product story.

When to Consider This Package

Consider only if all of these are true:

  • The stack is Symfony, pinned to the 3.4–4.4 era.
  • FOSRestBundle and SensioFrameworkExtraBundle are already installed and load-bearing.
  • Annotation-driven controllers are causing real, measurable friction (review time, copy-paste errors, inconsistent endpoint behavior).
  • There is no funded migration to native attributes in the next two quarters.

Look elsewhere — or close the evaluation outright — if:

  • The stack is Laravel. This package is architecturally irrelevant; there is nothing to port. Laravel's native route definitions, Route::apiResource, form requests, and API resources already cover the same ground.
  • The stack is Symfony 5.4+ or 6.x/7.x. Native PHP 8 attributes — #[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.
  • You need a maintained dependency. A 2021 release means uncertain PHP 8.1+/8.3 compatibility and no security response path. Verify composer.json constraints before any pilot; expect to be pinned.
  • You need the pattern, not the package. Copy the convention into an internal helper. That preserves the DX win, removes the third-party risk, and keeps ownership where it belongs.

How to Pitch It (Stakeholders)

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels
wazza/laravel-db-encryption
hokny/laravel-generator
vonsogt/backup
jengo/queues
jeremykenedy/laravel-observability
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums