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 Bundle Laravel Package

stanlemon/rest-bundle

Stanlemon RestBundle is a Symfony bundle for building RESTful APIs with less boilerplate, offering annotation-driven routing, serialization support, and reusable controller utilities so PHP developers can expose resources quickly and consistently.

Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for CRUD API scaffolding. If your roadmap includes exposing dozens of Doctrine-backed resources as JSON endpoints, this package is a reference point for the "generate it, don't write it" option — it derives REST routes directly from entity metadata rather than from hand-written controllers.
  • Time-to-first-endpoint for internal tooling. Useful input to estimates for admin panels, back-office tools, and partner integrations where the schema is the API contract.
  • Prototype/MVP scoping. Justifies deferring investment in a bespoke API layer when the near-term goal is validating a workflow rather than shipping a public contract.
  • API-first vs. schema-first architecture debates. Because the package couples your public surface to your persistence model, evaluating it forces an explicit decision on whether DB entities or domain models are the source of truth — a decision worth recording regardless of adoption.
  • Tech-debt and platform-consolidation reviews. An archived, 121-star, single-maintainer bundle is a concrete line item when auditing dependency risk in an existing Symfony estate.
  • Migration/exit planning. If already in use, it sets the scope for replacing generated endpoints with owned controllers — the cost is bounded by how many resources are currently auto-exposed.

When to Consider This Package

Consider it only when all of the following hold:

  • The stack is Symfony + Doctrine ORM, not Laravel. Despite the framing, this is a Symfony bundle with a Doctrine dependency; it has no place in a Laravel codebase, and the equivalent Laravel decisions are Laravel API Resources, Fractal, or hand-rolled controllers.
  • The data model is simple and entity-shaped — direct table-to-resource mapping, minimal cross-entity business logic, no computed or aggregated fields dominating the response.
  • The consumers are internal or low-risk — dashboards, internal tools, back-office, short-lived integrations — not a versioned public API with external SLAs.
  • You accept archive status — no upstream fixes, no security patches, no PHP/framework compatibility guarantees. That means either pinning the platform versions around it or budgeting an immediate fork.
  • The blast radius of a breaking change is small, so regenerating or rewriting endpoints later is a contained task.
  • Speed dominates the next 1–3 months of delivery, and you have a named owner for the fork.

Look elsewhere when:

  • You are Laravel-first — this is the wrong ecosystem entirely; do not let a 121-star PHP package set your architecture.
  • You need public-facing API concerns: authentication/authorization models, rate limiting, pagination contracts, API versioning, OpenAPI/Swagger documentation, hypermedia, or field-level access control. These are the first things generated endpoints get wrong and the hardest to retrofit.
  • Your domain has business logic that isn't a table — permissions, workflows, multi-tenant scoping, derived state. Auto-exposure will leak internals and invite security review findings.
  • Your org has a no-archived-dependencies policy, or the data is regulated (PII, PCI, HIPAA), where an unmaintained endpoint generator is an audit finding, not a shortcut.
  • You need an actively maintained, documented, versioned dependency with a support contract. The unknown/absent repository and archive flag mean no CVE response path.
  • The schema changes frequently — an API coupled to entities means every migration is potentially a breaking API change.

How to Pitch It (Stakeholders)

To executives: This package is a shortcut that turns database entities into HTTP endpoints with almost no code, which can cut weeks off an internal-tool or prototype timeline. Two caveats drive the recommendation. First, it is built for Symfony, not our Laravel stack, so the transferable value is the pattern — auto-generated resource endpoints — rather than the code. Second, it is archived and effectively unmaintained, so adopting it means owning a fork. My recommendation: treat it as an evaluation reference and a pattern to copy, not a dependency to install on anything customer-facing. If we standardize, we implement the pattern with a maintained, in-house generator sized at a few weeks of engineering — comparable to a fork, but with a roadmap and a support owner.

To engineering: The pitch is zero-boilerplate CRUD over Doctrine entities — routes, serialization, and basic read/write handling derived from entity metadata. That's genuinely attractive for internal tools where the entity graph is the API. The trade-offs are structural: the API contract becomes the database schema, so every migration is a potential breaking change; generated endpoints have no opinion on authorization, pagination, or versioning, which means those become your problem at the worst time; and the archive flag means no upstream fixes for PHP or framework upgrades. If we pursue it, scope it to internal, non-regulated resources behind an authenticator we write, fork it on day one, pin platform versions, and keep the surface area small enough to replace in a sprint. The honest alternative is a thin in-house generator — the same productivity, without the provenance risk.

Bottom line for a PM: Do not adopt this as a dependency. Use it to justify (a) a decision record on whether entities or domain models define our API, and (b) a small, bounded investment in generated CRUD endpoints — provided the endpoints are internal-only and owned by us.

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.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core