tbn/json-annotation-bundle
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| bibrokhim/laravel-force-json-response | 0.88 | 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. | 0 | 0 | 0 | 75 | 0 | 0.3 | 26.0 | — | 2 years ago | |
| delormejonathan/accessible-bundle | 0.85 | — | 0 | 0 | 1 | 0 | 0 | 0.6 | — | MIT | 6 years ago | |
| sensio/framework-extra-bundle | 0.85 | Provides annotation-based configuration for Symfony controllers (routing, security, templates, caching, etc.). Note: this bundle is no longer maintained—prefer native PHP attributes in Symfony core (ideally Symfony 6.2+) for full support. | 3,365 | 3,399 | 274 | 944K | 0 | 12.5 | 23.9 | MIT | — | |
| braincrafted/json | 0.85 | 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 | |
| app-verk/api-test-cases | 0.85 | — | 1 | 1 | 4 | 0 | 0 | 3.1 | — | — | 4 years ago | |
| egeloen/json-builder | 0.85 | 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 | 13K | 0 | 1.4 | 29.2 | MIT | — | |
| bornfight/jsonapi-bundle | 0.85 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| b2pweb/bdf-serializer-bundle | 0.85 | — | 0 | 0 | 0 | 167 | 0 | 0.0 | 30.7 | MIT | — | |
| egeloen/serializer-bundle | 0.85 | — | 6 | 6 | 8 | 970 | 2 | 0.7 | 29.6 | MIT | — | |
| jms/di-extra-bundle | 0.84 | — | 327 | 341 | 128 | 34K | 84 | 28.1 | 51.9 | — | 8 years ago | |
| amare53/helper-bundle | 0.84 | — | 0 | 0 | 0 | 0 | 0 | 0.6 | — | MIT | 4 years ago | |
| cm2tech/serializer-bundle | 0.84 | — | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 5 years ago | |
| arguv/crud-api-bundle | 0.84 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| antoi/restify-bundle | 0.84 | Reusable Symfony bundle (6.4–8.x, PHP 8.2+) that provides a full REST CRUD stack: abstract repository/service/controller, automatic entity hydration, query filtering, eager-loading, and pick-based response enrichment. Six endpoints per resource, quickly wired. | 0 | 0 | 0 | 1 | 0 | 0.0 | 4.2 | MIT | — | |
| timacdonald/json-api | 0.84 | — | 642 | 644 | 49 | 64K | 8 | 28.6 | 34.6 | — | 2 months ago | |
| php-standard-library/json | 0.83 | php-standard-library/json provides JSON encode/decode helpers with sensible defaults and typed exceptions. Safer, clearer error handling than native json_encode/json_decode, ideal for consistent JSON handling in PHP apps and libraries. | 1 | 1 | 0 | 20K | 0 | 20.1 | 64.3 | MIT | 3 weeks ago | |
| botanick/serializer | 0.83 | Laravel/PHP serializer package for converting objects and arrays to structured formats and back. Aims to simplify data transformation with configurable normalization/denormalization for APIs, DTOs, and persistence layers. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| ehann/web-service-bundle | 0.83 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| deozza/response-maker-bundle | 0.83 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| yiisoft/json | 0.83 | 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. | 28 | 28 | 9 | 36K | 2 | 9.7 | 45.8 | BSD-3-Clause | 6 months ago |
How can I help you explore Laravel packages today?