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
Api Resource Bundle

Api Resource Bundle Laravel Package

sociolink/api-resource-bundle

A Laravel package that bundles reusable API resource classes and helpers for building consistent JSON API endpoints. It streamlines serialization, relationships, and response formatting, helping you expose Eloquent models through clean, maintainable resource layers.

View on GitHub
Deep Wiki
Context7

sociolink/api-resource-bundle is a Laravel package for exposing Eloquent models as clean, consistent API resources. It wraps model serialization in a dedicated resource layer, so controllers stay thin and responses follow a predictable JSON shape across your entire API. Define a resource once and reuse it for single-item and collection endpoints, with relationships resolved automatically.

  • Resource classes that map models to structured JSON output
  • Automatic relationship inclusion with nested resource resolution
  • Collection helpers for pagination and metadata envelopes
  • Consistent error and payload formatting across endpoints
  • Framework-native setup: register resources and start returning them from controllers
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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource