Weave Code
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
tbn/json-annotation-bundle 0.88 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 1 0 0.9 2.9 7 years ago
View on GitHub
Context7
open-southeners/laravel-apiable 0.86 13 13 0 90 2 27.0 13.9 MIT 1 month ago
View on GitHub
Context7
bugloos/responder-bundle 0.85 13 13 1 48 0 2.5 8.9 MIT 3 years ago
View on GitHub
Context7
jetcamp/laravel-json-api-client 0.85 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 0 0 2.7 1 year ago
View on GitHub
Context7
timacdonald/json-api 0.85 642 644 49 68K 8 29.2 35.2 2 months ago
View on GitHub
Deep Wiki
Context7
lastdragon-ru/lara-asp-serializer 0.84 0 0 0 4K 0 0.0 50.2 MIT
View on GitHub
Context7
braincrafted/json 0.84 Object-oriented wrapper around PHP’s json_encode() and json_decode() providing simple static encode/decode methods plus exception-based error handling. Supports decoding to arrays or objects via Json::DECODE_ASSOC and Json::DECODE_OBJECT. 2 3 0 0 0 0.3 11 years ago
View on GitHub
Context7
gisostallenberg/response-content-negotiation-bundle 0.83 0 0 4 577 0 22.0 43.3 2 months ago
View on GitHub
Context7
citizen63000/easy-api-core 0.83 0 0 1 5 0 6.0 11.2 MIT 9 months ago
View on GitHub
Context7
dorvidas/laravel-json-api-client 0.83 Laravel package for consuming JSON:API services with a simple client in Laravel apps. Helps you send requests, handle responses, and work with JSON:API resources in a structured way. Suitable for integrating external APIs with minimal boilerplate. 2 2 1 0 1 0.4 7 years ago
View on GitHub
Context7
neomerx/json-api 0.83 Framework-agnostic PHP library implementing JSON:API v1.1. Builds compliant documents, relationships, compound includes, meta and errors. Parses/validates Accept/Content-Type and query params (pagination, sorting, sparse fields) to return proper 415/406 responses. 737 743 66 24K 8 16.9 23.2 Apache-2.0 6 years ago
View on GitHub
Context7
codememory/entity-response-control 0.83 Define response prototypes to shape arrays from Doctrine entities using PHP attributes. Build API-friendly payloads with custom formatting, naming strategies, and decorators, including extra per-object data from additional queries. 1 1 0 0 0 12.9 MIT 7 months ago
View on GitHub
Context7
elao/json-http-form-bundle 0.83 Symfony bundle that lets Forms handle JSON POST/PUT/PATCH/DELETE requests. Automatically detects JSON content-type, decodes request body, and submits data to your form; falls back to default HttpFoundation handling for normal GET/POST. 35 35 4 82 0 3.0 7.1 MIT 2 years ago
View on GitHub
Context7
oskarstark/symfony-http-responder 0.83 Lightweight Symfony bundle that streamlines building HTTP responses by wrapping common response patterns in a simple responder layer. Helps keep controllers thin and consistent when returning JSON, redirects, views, files, and other responses across your app. 13 13 4 7K 1 18.2 41.7 MIT 4 months ago
View on GitHub
Context7
paknahad/jsonapi-bundle 0.82 Laravel package for building JSON:API-compliant APIs. Provides controllers, resources and request handling to standardize responses, filtering, sorting, pagination, includes and errors, helping you ship consistent endpoints faster. 71 72 26 448 18 6.4 17.6 MIT
View on GitHub
Context7
egeloen/json-builder 0.82 PHP 5.6+ library to build JSON using Symfony PropertyAccess paths. Set nested values, arrays, and raw/unescaped values while retaining control over escaping. Produces JSON strings from a fluent builder API with strong test coverage. 96 97 26 12K 0 1.4 28.7 MIT
View on GitHub
Context7
api-platform/json-api 0.82 JSON:API component for the API Platform framework. Adds JSON:API-compliant request/response handling and content negotiation for building standardized JSON APIs. Read-only split of api-platform/core; issues and PRs belong in the core repository. 3 3 0 56K 0 0.0 55.3
View on GitHub
Context7
alexacrm/strong-serializer 0.82 Laravel/PHP utility for robust object/array serialization with strong typing and predictable output. Helps convert data structures for APIs, storage, or transport with configurable serializers and safer handling of nested values. 1 1 1 13K 0 0.0 52.9
View on GitHub
Context7
stackmasteraliza/laravel-api-response 0.82 30 30 5 5 0 16.6 1.0 MIT 4 months ago
View on GitHub
Context7
yiisoft/json 0.82 Yii JSON is a lightweight PHP library for encoding/decoding JSON with sensible defaults. It throws JsonException on errors, supports JsonSerializable, DateTimeInterface and SimpleXMLElement, and includes safe HTML encoding for embedding JSON in pages. 0 28 31K 10.9 44.4
View on GitHub
Context7
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.
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge