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

Laravel Force Json Response Laravel Package

bibrokhim/laravel-force-json-response

Laravel middleware that forces every request to accept JSON by setting the Accept header to application/json when missing or different, ensuring your app consistently returns JSON responses. Install via composer require bibrokhim/laravel-force-json-response.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
sm-sandy/api-response 0.87 — 4 4 0 2 0 0.0 2.0 MIT —
View on GitHub
jetcamp/laravel-json-api-client 0.87 Laravel package for consuming JSON:API services from your app. Provides a client layer to send requests and handle resources/relationships in a JSON:API-compatible way, aiming to simplify integration with external APIs. 0 0 0 1 0 2.7 4.2 — 2 years ago
View on GitHub
Context7
behamin/bresources 0.87 behamin/bresources is a Laravel package that simplifies building resource-driven CRUD features. It helps organize models, controllers, routes, and views around reusable resource definitions, reducing boilerplate for admin panels and APIs. 6 6 4 36 0 0.2 10.9 MIT 1 year ago
View on GitHub
symfony-bundles/json-request-bundle 0.86 Symfony bundle that decodes JSON request bodies and injects them into the Request parameter bag for easy controller handling. Supports common content types, validation-friendly input, and simplifies building JSON APIs by treating JSON like standard form data. 50 51 19 33K 2 1.9 39.1 MIT 5 years ago
View on GitHub
stackmasteraliza/laravel-api-response 0.86 — 30 30 6 0 0 8.1 — MIT 9 months ago
View on GitHub
felixfbecker/advanced-json-rpc 0.86 JSON-RPC 2.0 request/response helpers with a Dispatcher that decodes JSON-RPC calls and invokes target methods. Automatically coerces parameter types using type hints and @param docs, and supports nested targets via configurable method delimiters. 254 257 17 947K 10 8.5 55.1 ISC 5 years ago
View on GitHub
laravie/api 0.86 A Laravel package for structuring JSON APIs with a lightweight, organized approach to endpoints and responses. Laravie API helps keep API code clean and consistent inside Laravel applications, making backend services easier to build and maintain. 14 16 4 25 0 0.5 5.9 BSD-3-Clause 4 years ago
View on GitHub
mahmoud-almalah/laravel-api-helpers 0.86 A lightweight Laravel package with practical helpers for building cleaner APIs. Reduce boilerplate, standardize common response and controller patterns, and keep your backend code consistent, readable, and easier to maintain across projects. 1 1 0 340 0 0.3 30.8 MIT 1 year ago
View on GitHub
nilportugues/serializer-eloquent 0.86 Eloquent ORM driver for nilportugues/serializer. Serialize Laravel/Eloquent models and their relationships into the Serializer library’s normalized array format, handling common Eloquent edge cases so you can reuse one consistent serialization layer across your app. 5 5 7 65 2 4.6 15.2 MIT 9 years ago
View on GitHub
14four/laravel-force-https 0.86 Laravel middleware package to force HTTPS across your app. Automatically redirects HTTP requests to HTTPS, with options to exclude paths or environments so you can keep local/testing flexible while enforcing secure connections in production. 0 0 — 0 — 0.0 — — —
View on GitHub
tbn/json-annotation-bundle 0.86 Symfony bundle that adds a @Json annotation for controllers to automatically return JSON responses. Wraps successful return arrays and exceptions into a consistent payload (success/data/message), with configurable keys, HTTP codes, and optional POST query echo/auth errors. 0 1 0 0 0 0.9 — — 7 years ago
View on GitHub
enm/json-api-common 0.86 JSON API Common provides shared PHP classes and interfaces for building JSON:API-compliant servers and clients. It powers enm/json-api-server and enm/json-api-client, covering resources, relationships, links, documents, errors, and requests. 13 14 13 355 5 1.8 15.3 MIT 5 years ago
View on GitHub
open-southeners/laravel-apiable 0.86 — 13 13 1 289 2 29.5 21.6 MIT 1 week ago
View on GitHub
timacdonald/json-api 0.86 — 641 644 50 99K 8 21.0 36.1 — 7 months ago
View on GitHub
djunehor/laravel-put-helper 0.86 Laravel middleware/helper that makes PUT request payloads easy to access, including uploaded files. Once installed, PUT input and files are available like normal request data, with support for validating file parameters using put_file. 2 2 0 0 0 0.3 — MIT 6 years ago
View on GitHub
Context7
beste/json 0.86 JSON helpers for PHP and Laravel: decode/encode, safe access, casting, and convenient manipulation of JSON strings and arrays. A lightweight utility package focused on cleaner, less error-prone JSON handling in everyday applications. 43 43 0 2M 0 4.5 55.8 MIT 1 year ago
View on GitHub
Context7
lanin/laravel-api-debugger 0.86 Inspect and debug Laravel API requests without scattering dumps: laravel-api-debugger captures headers, payloads, responses, status codes, and timing in a built-in UI, making it easy to trace failures, compare calls, and profile endpoints during development and testing. 231 238 56 38K 8 5.4 33.8 MIT 1 year ago
View on GitHub
spatie/laravel-there-there 0.86 Expose your Laravel app data as JSON for There There. Configure a secret and endpoint, validate incoming requests, and register a sidebar callback to return relevant customer info when agents open a ticket, shown in There There’s sidebar. 2 2 0 2K 0 8.7 43.1 MIT 7 months ago
View on GitHub
marcin-orlowski/laravel-api-response-builder 0.85 Build consistent, structured JSON API responses in Laravel. Standardize success and error payloads, map custom internal codes to HTTP statuses, and keep every endpoint returning the same predictable, documented format. 853 856 84 19K 1 21.0 21.1 MIT 3 months ago
View on GitHub
quonain/smart-response 0.85 SmartResponse is a Laravel package that returns JSON API responses or Blade/Inertia views from the same controller method, auto-detecting request type (Accept header, /api routes, bearer tokens). Includes pagination, response shortcuts, macros, caching, and meta enrichment. 0 1 0 0 0 0.0 — MIT —
View on GitHub
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