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

Rest Bundle Laravel Package

micro-module/rest-bundle

A REST bundle for micro-module Laravel applications, providing a structured way to define, organize, and expose RESTful API endpoints across self-contained modules with consistent routing and response handling.

View on GitHub
Deep Wiki
Context7

At a glance

Frequently asked questions about Rest Bundle
What is micro-module/rest-bundle?
It is a lightweight, convention-driven PHP package for building REST APIs inside micro-modules. It bundles resource routing, request handling, and JSON serialization with consistent error responses, and is designed to be framework-agnostic and PSR-compatible so you can enable only the pieces you need.
Does micro-module/rest-bundle work with Laravel?
There is no documented Laravel service provider, package discovery entry, or Laravel-specific configuration in the repository. The bundle advertises framework-agnostic and PSR-compatible integration, but its naming and structure resemble Symfony bundle conventions, so Laravel compatibility is unproven until you audit the source. Treat it as a design reference or a candidate for a thin adapter rather than a drop-in Laravel package.
How do I install micro-module/rest-bundle with Composer?
The package is published as micro-module/rest-bundle, so installation is a standard Composer require once a compatible version is identified. Because the repository shows no release cadence or stable tags, pin a specific commit or version and review composer.json for PHP and framework constraints before adding it to a Laravel project. There is no Laravel auto-discovery documented, so any integration will need manual wiring.
How does convention-based routing work in this REST bundle?
Routing is convention-driven: resource endpoints are exposed from module definitions rather than hand-written route files. The exact controller and route descriptor contract is not documented in the README, so read the source and tests to confirm how routes, HTTP verbs, and versioning are mapped. In a Laravel app you would likely translate those conventions into RouteServiceProvider registrations or a custom adapter.
Can I use micro-module/rest-bundle for JSON API error responses?
The bundle includes JSON serialization with consistent error responses as one of its core features. That means error envelopes and response formatting are meant to be handled by the package rather than scattered across controllers. Check the source for the exact error schema and whether it is customizable, since existing Laravel API clients may expect a different shape.
Is micro-module/rest-bundle production-ready?
The repository has zero stars, zero dependents, and no evidence of production use, so it is not battle-tested for routing collisions, serializer edge cases, or auth integration. It also appears to be maintained by a single person with no visible security disclosure process. For a Laravel production API, use it only after a time-boxed audit or treat it as inspiration for native Laravel patterns.
What are alternatives to micro-module/rest-bundle for Laravel REST APIs?
For native Laravel work, the standard stack is RouteServiceProvider, API resources, form requests, and middleware for error envelopes. If you want a package, Laravel-first options such as API resource tooling or community REST packages have stronger ecosystem evidence. The bundle's main value is its micro-module conventions, which you can copy without taking on the dependency.
How do I test a REST API built with micro-module/rest-bundle?
The repository does not document a test suite in the README, so the tests directory, if present, is the behavioral specification. Read those tests to understand routing, serialization, and error-response expectations before writing Laravel feature tests around the endpoints. If there are no tests, that is a significant risk signal for a package handling HTTP contracts.
Can I use micro-module/rest-bundle without Symfony?
The package claims to be framework-agnostic and PSR-compatible, which suggests the request/response handling can work outside Symfony. However, the micro-module naming and bundle structure suggest Symfony lifecycle assumptions may be present in the source. Confirm whether routing, content negotiation, and error handling are isolated services behind PSR interfaces or coupled to Symfony HttpKernel and EventDispatcher.
How is micro-module/rest-bundle maintained and versioned?
There is no visible release cadence, tag discipline, or governance in the repository information provided. With a single maintainer and no downstream consumers, backward-compatibility risk is high and a composer update could introduce breaking changes. Pin versions, vendor or fork the code if you adopt it, and check the license before redistributing.
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.
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo
bernskioldmedia/laravel-harvest
bernskiold/laravel-data-scrubber
bernskiold/laravel-currency-converter
bernskiold/laravel-campaign-monitor
bernskioldmedia/laravel-autotranslate
siberfx/telegram-bot
roy-sandip/laravel-view-extended
gregsphotography/site-builder-core
roy-sandip/laravel-view
anodyne/blade-fluentui-icons
webx-ui/module-catalog-collections