braincrafted/json
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| herrera-io/json | 0.89 | PHP library for working with JSON data: read, write, validate, and manipulate JSON structures with a simple API. Useful for encoding/decoding, handling JSON files, and keeping JSON processing consistent across your applications. | 0 | 52 | — | 3K | — | 0.0 | 48.5 | — | — | |
| php-standard-library/json | 0.87 | 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 | 29K | 0 | 17.7 | 63.2 | MIT | 2 months ago | |
| timacdonald/json-api | 0.87 | — | 642 | 645 | 50 | 66K | 8 | 26.0 | 34.5 | — | 4 months ago | |
| bf-dsf/json-request-bundle | 0.87 | — | 0 | 0 | 0 | 2 | 0 | 0.6 | 6.6 | MIT | 4 years ago | |
| symfony-bundles/json-request-bundle | 0.87 | 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 | 28K | 1 | 1.6 | 37.7 | MIT | 5 years ago | |
| 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 | |
| egeloen/json-builder | 0.86 | 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.9 | MIT | — | |
| bibrokhim/laravel-force-json-response | 0.86 | 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 | 141 | 0 | 0.3 | 29.7 | — | 3 years ago | |
| atheon/json-builder | 0.86 | — | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 3 years ago | |
| dbstudios/doze | 0.85 | Doze is a small PHP response helper built on Symfony Serializer/HttpFoundation. Configure a serializer + responder to produce encoded responses (e.g., JSON) and use its field selector/attributes support to return only requested fields in API payloads. | 0 | 0 | 1 | 15 | 0 | 1.5 | 18.8 | GPL-3.0 | 7 years ago | |
| neomerx/json-api | 0.85 | 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 | 25K | 8 | 16.9 | 23.4 | Apache-2.0 | 6 years ago | |
| ekyna/resource | 0.85 | Laravel package providing a Resource layer with controllers, forms, validation, persistence and admin-style CRUD tooling. Helps structure domain resources consistently across your app and speeds up building back-office interfaces. | 1 | 1 | 0 | 4 | 0 | 0.0 | 6.6 | MIT | — | |
| dorvidas/laravel-json-api-client | 0.85 | 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 | — | — | 8 years ago | |
| alexacrm/strong-serializer | 0.85 | 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 | 8K | 0 | 0.0 | 50.0 | — | — | |
| nilportugues/serializer-eloquent | 0.85 | 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 | 15 | 2 | 4.6 | 7.9 | MIT | 9 years ago | |
| botanick/serializer | 0.85 | 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 | — | — | — | |
| api-platform/json-api | 0.85 | 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. | 4 | 4 | 0 | 67K | 0 | 0.0 | 55.3 | — | — | |
| camspiers/json-pretty | 0.85 | Pretty-print JSON in PHP 5.3. camspiers/json-pretty provides a simple JsonPretty class with a prettify() method to format arrays/JSON into readable, indented output. Install via Composer and use in a few lines. | 22 | 23 | 8 | 4K | 1 | 0.7 | 23.1 | MIT | 10 years ago | |
| ml/json-ld | 0.85 | Fully conforming JSON-LD processor for PHP. Implements the official JSON-LD API (expand, compact, frame, flatten, toRdf), passes the W3C test suite, supports advanced framing features, and includes N-Quads serialization/parsing. | 337 | 342 | 63 | 227K | 28 | 12.2 | 48.5 | MIT | — | |
| paknahad/jsonapi-bundle | 0.85 | 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 | 519 | 18 | 6.4 | 18.3 | MIT | — |
How can I help you explore Laravel packages today?