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

freefair/rest-bundle

freefair/rest-bundle is a Symfony bundle for building REST APIs with less boilerplate. It provides reusable REST controllers and integrates request handling, serialization, and validation so you can define clean, consistent endpoints in PHP applications.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Accelerates delivery of API endpoints by reducing repetitive request-to-object mapping code in controllers, freeing PM/engineering capacity for higher-value features.
  • The new v0.3.6 array support for POST/PUT unlocks bulk create/update workflows, multi-select form submissions, and batch operations without custom parsing logic—directly relevant to roadmap items involving bulk actions or structured form arrays.
  • Informs build-vs-buy: if the team is writing repetitive parameter conversion by hand, this package can be trialed to cut boilerplate; if domain logic requires complex validation/transformation, plan for complementary custom code.
  • Supports use cases such as annotation-driven parameter binding (similar to Symfony ParamConverter), declarative controller signatures, and teams migrating from Symfony-style conventions to Laravel.
  • Enables product experiments around array-based payloads (e.g., bulk imports, multi-record edits) with lower backend effort, but requires validation that the pre-1.0 package is stable enough for the target surface area.

When to Consider This Package

  • Consider adoption when you have many controllers with repetitive request-to-object mapping, and the team is comfortable with annotation-based configuration.
  • Consider it specifically for endpoints that need to accept arrays via POST/PUT (v0.3.6+), such as bulk operations or nested form data, where manual $request->input() handling would otherwise be repeated.
  • Consider a limited pilot in a non-critical service if you want to evaluate developer experience, error handling, and maintainability before broader rollout.
  • Look elsewhere if you require a stable 1.0+ API with long-term support guarantees—v0.3.x is pre-1.0 and may introduce breaking changes.
  • Look elsewhere if your team prefers explicit code over annotations, or if Laravel's native route model binding and Form Requests already cover your needs without additional dependencies.
  • Look elsewhere if you need advanced validation, authorization, or transformation beyond simple conversion, or if broad community support and mature documentation are mandatory.

How to Pitch It (Stakeholders)

  • Executives: This package reduces backend boilerplate for request handling, which can shorten delivery cycles for API-heavy features. The new array support expands use cases to bulk operations, but because the package is still pre-1.0, we recommend a contained pilot before wider adoption.
  • Engineering: v0.3.6 adds array support for POST/PUT via @ParamConverter with [], removing a common limitation for bulk endpoints. It is a low-effort trial in a non-critical service. Evaluate annotation maintainability, error handling, and the upgrade path given the 0.x version. If it fits, it can cut repetitive controller code; if not, stay with Laravel Form Requests and native binding.
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.
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core