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

Easy Rest Bundle Laravel Package

osm/easy-rest-bundle

OSM EasyRestBundle is a Symfony bundle that streamlines REST API development by turning Doctrine entities into JSON endpoints. It offers automatic CRUD routing, pagination, filtering, and serialization with minimal configuration for consistent, maintainable APIs.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

Framing note first: despite the "Laravel/PHP package" brief, osm/easy-rest-bundle is a Symfony bundle. It registers through Symfony's AppKernel/config/bundles.php and depends on Symfony's HttpKernel, DependencyInjection container, event dispatcher, and routing/config components. It is not installable in a Laravel application and there is no adapter path. So the real decision it informs is not "should we add this dependency" — it is "how do we govern dependency requests and framework drift." With that in mind:

  • Build vs. buy for REST scaffolding → decided: build. The bundle's advertised value (convention-based routing, JSON response helpers, serialization/content negotiation, thin controller plumbing) is now commodity. In Laravel it is covered by route definitions and route-model binding, Eloquent API Resources, Form Requests, Sanctum/Passport, throttle middleware, and exception handling in bootstrap/app.php/Handler. In Symfony it is covered by the Router, Serializer, and API Platform. There is no capability gap to purchase, so no build-vs-buy analysis is warranted — the answer is a first-party "build."
  • Framework standardization (the decision that actually matters). This request is a symptom of unclear stack ownership. The PM-level decision is to codify one supported API stack per service type — Laravel native stack for Laravel services, API Platform for Symfony services — and treat "third-party REST helper bundle" as an out-of-policy category.
  • Dependency adoption policy / vendor-risk rubric. A concrete calibration case for a minimum bar: stars, dependents, release cadence, maintainer count, security-advisory channel, test/CI signals, framework-version compatibility. This package fails on essentially every axis: 9 stars, 0 dependents, health score 0.105, single maintainer, no visible release or security process. Turn this evaluation into the worked example in that policy so the next request is self-serve.
  • Legacy triage / tech-debt register. If the bundle surfaces anywhere in an existing Symfony estate it becomes a maintenance-exit item — plan a fork-and-replace or retire the endpoint — not a feature decision. With 0 dependents this is unlikely, but the entry is cheap to record.
  • Prototype scoping. Acceptable at most as a throwaway reference implementation for a timeboxed spike, or as a source of borrowed routing conventions under MIT. Not an input to roadmap, headcount, or budget.
  • Make-vs-reuse for internal API conventions. If a team genuinely likes its conventions, the product answer is a small internal package (or a documented team standard) that we own and test — far cheaper over 24 months than adopting an unmaintained upstream.

When to Consider This Package

Treat adoption as conditional on all of the following being true:

  • The service is Symfony-based, not Laravel and not framework-agnostic PHP. For any Laravel service this is an automatic no — the boundary is a framework boundary, not an adapter boundary.
  • The work is a short-lived internal prototype or spike, where you would otherwise write throwaway controllers and would delete the code afterward.
  • You have read the source (there is effectively no documentation) and confirmed scope: routing conventions, response shaping, serialization. Assume no auth, no authorization, no input validation, no API versioning, no pagination.
  • A composer.json audit passes against your baseline: PHP constraint, Symfony component versions, transitive dependency count, clean install. A failure here ends the conversation before any code review.
  • You accept day-one ownership. MIT licensing means you can fork, but you would own it permanently — no upstream fixes, no advisories, no SLA.

Look elsewhere — and this is the default answer — when:

  • You are on Laravel. Use the framework's native stack: API Resources for shaping, Form Requests for validation, Sanctum for auth, route-model binding, throttle for rate limits. There is no gap this bundle fills.
  • You need anything production-grade. Use API Platform on Symfony or Laravel's first-party stack. Both have real maintainers, documentation, security processes, and hiring pools.
  • Maturity matters at all. 9 stars, 0 dependents, 0.105 score, bus factor of one, no evidence of a release cadence or security policy — disqualifying for anything load-bearing.
  • Auth, authorization, or validation is in scope. A REST helper of this vintage stops at routing and serialization; treating it as a security boundary would be a mistake.
  • You would need to train the team on it. Ramp-up cost is non-transferable: time spent learning this bundle's idioms does not compound into a reusable team skill, unlike API Resources or API Platform.
  • You need an SLA or a vendor path. There is none. Internal support means one engineer reverse-engineering unfamiliar Symfony bundle conventions, with no backup.

How to Pitch It (Stakeholders)

For executives (30 seconds). We evaluated a community PHP package marketed as "easy REST APIs." Three things rule it out. First, it targets the wrong framework: it is a Symfony bundle and cannot run in our Laravel services. Second, the health signals are disqualifying — nine GitHub stars, zero downstream users, a 0.105 health score, one maintainer, and no visible release or security process. Third, the functionality it offers is now built into both Laravel and Symfony, so adopting it would add supply-chain and maintenance risk — and a permanent fork obligation — for zero capability gain. Recommendation: no-go. No roadmap, headcount, or budget impact. The one action worth taking is codifying a minimum adoption bar for third-party dependencies, using this as the worked example, so the team can self-serve these decisions in future.

For engineering. Do not add this as a dependency. Our standard is the Laravel native API stack — route definitions and route-model binding, Eloquent API Resources, Form Requests, Sanctum, throttle middleware, centralized exception handling — for new Laravel services, and API Platform wherever Symfony already exists. If you want the bundle's ideas, spend an hour reading the source and borrow the routing conventions; MIT makes that safe. If you believe there's a real gap, bring a specific endpoint plus the framework feature that fails to cover it, and we'll re-open the decision. Record this as a rejected candidate in the architecture decision record, with the reason logged as framework mismatch plus insufficient adoption signals.

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.
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox