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

Restgeneratorbundle Laravel Package

voryx/restgeneratorbundle

Voryx RESTGeneratorBundle is a Symfony bundle that automatically generates RESTful CRUD controllers and routes from your Doctrine entities, letting you expose full JSON APIs with minimal boilerplate and consistent, configurable endpoints.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Scaffolding velocity for CRUD-heavy surfaces. The bundle auto-generates REST controllers and routes over Doctrine entities, so it directly informs the build-vs-generate decision for internal admin APIs, back-office tooling, and MVP endpoints where the data model is already defined. If 80% of your endpoints are list/get/create/update/delete against entities, generating them is a one-sprint decision, not a three-sprint one.
  • Roadmap sequencing: prototype now, harden later. A PM can use this to justify shipping a thin, machine-readable API in front of an existing data model to unblock a mobile client, partner integration, or internal dashboard — while deferring investment in a hand-rolled API layer until usage is proven.
  • Framework-fit as a gating criterion. This is a Symfony 2 bundle, not a Laravel package. For a Laravel shop, the honest PM conclusion is "do not adopt; replicate the pattern" — Laravel's Route::apiResource plus API Resources already cover the same ground natively. That reframing (buy the pattern, not the dependency) is itself the product decision.
  • Legacy stabilization vs. rewrite. For a team still operating a Symfony 2 application, this informs whether to spend a sprint generating missing CRUD endpoints to buy time, versus funding a full platform migration. It supports a "stop the bleeding cheaply" roadmap line item.
  • Competitive/build baseline. Useful as a reference point when scoping an internal code-generation tool: what a minimal generator gets you (fast CRUD, low ceremony) and where it stops (validation, authorization, pagination, filtering, versioning, docs — all still yours to build).

When to Consider This Package

Adopt only under a narrow set of conditions:

  • You are maintaining a live Symfony 2.x application (2.8 EOL'd in November 2018) and need CRUD endpoints over existing Doctrine entities faster than hand-writing controllers.
  • The endpoints are internal, low-risk, and non-differentiated — admin panels, migration bridges, internal tooling.
  • You accept that you own the code after generation: the release cadence stopped in 2016, the project has ~177 stars and no meaningful maintainer community, and the opportunity score (5.26) reflects a small, cold niche.
  • You have a pinned, containerized PHP runtime so a 2016-era dependency tree cannot drift underneath you.

Look elsewhere when:

  • You are on Laravel (or Symfony 4+). Framework mismatch is disqualifying — port the idea, not the package. Use native resource routing / API Resources, or API Platform for Symfony.
  • You need anything beyond basic CRUD: authentication and per-entity authorization, request validation, filtering/sorting/pagination contracts, OpenAPI documentation, API versioning, rate limiting, or audit logging. All of that is out-of-scope work you will build yourself.
  • Security posture matters. An unmaintained 2016 code generator producing controllers is a review burden: no upstream patches, no CVE response, and generated code that may not follow current practices.
  • You're greenfield. The migration cost of replacing a generated layer later exceeds the savings of generating it now.

How to Pitch It (Stakeholders)

To executives: This is a small, single-purpose tool that turns database models into working REST endpoints automatically. It could shave meaningful time off internal CRUD work — but it is a Symfony 2 artifact last updated in 2016, and Symfony 2 is end-of-life. So the recommendation is not "buy this"; it's "copy this pattern into our current stack." We get the same speed benefit with zero unmaintained-dependency risk, at roughly the same cost. The only scenario where we'd use it directly is if we're still running that legacy Symfony 2 app and need to ship internal endpoints quickly while a migration is funded.

To engineering: Treat it as a design reference, not a dependency. It demonstrates the minimal viable generator: entity in, CRUD routes and controller out. Everything that makes an API production-grade — validation, authorization, pagination, filtering, versioning, docs — is deliberately absent and would be our work regardless. If we're on Laravel, Route::apiResource plus API Resources already gives us this with first-party support and active maintenance; if we're on modern Symfony, API Platform is the maintained equivalent. Recommend we spend half a day writing our own generator/convention doc rather than adopting a nine-year-old bundle.

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.
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin