karriere/json-decoder
JsonDecoder maps JSON into typed PHP objects, handling nested objects, arrays, scalar casting, required fields, and custom decoders. It turns API responses and config files into predictable, IDE-friendly classes for safer, cleaner PHP code.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| colinodell/json5 | 0.87 | PHP JSON5 parser/decoder. Adds json5_decode() as a drop-in replacement for json_decode(), supporting comments, trailing commas, single quotes, and more. Always throws SyntaxError on parse failure. Includes a json5 CLI to convert JSON5 to JSON. | 309 | 311 | 12 | 944K | 0 | 5.8 | 48.1 | MIT | 2 years ago | |
| 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 | |
| ergebnis/json | 0.86 | ergebnis/json provides a Json value object for representing a valid JSON string. Create instances from strings or files, with clear exceptions for invalid JSON, missing or unreadable files. Ideal for safely handling JSON input in PHP applications. | 27 | 25 | 1 | 1M | 2 | 21.3 | 64.3 | MIT | 1 month ago | |
| baudev/php-object-converter-bundle | 0.86 | — | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 7 years ago | |
| steffenbrem/json-api-bundle | 0.86 | Symfony bundle for building JSON:API-compliant APIs. Define resources and relationships, integrate Doctrine entities, and get filtering, sorting, pagination, includes, sparse fieldsets, links, validation, and standardized error responses out of the box. | 53 | 54 | 24 | 20 | 9 | 3.6 | 4.9 | — | 9 years ago | |
| justinrainbow/json-schema | 0.86 | A PHP library for validating JSON data against JSON Schema definitions, supporting Draft-3, Draft-4, Draft-6, Draft-7, and Draft 2019-09. Install via Composer to validate payloads and catch structural or schema errors. | 3,622 | 3,676 | 376 | 7M | 17 | 67.3 | 65.3 | MIT | 1 week ago | |
| enm/json-api-common | 0.85 | 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 | |
| balping/json-raw-encoder | 0.85 | Laravel helper for encoding JSON while preserving “raw” fragments (like JS functions or pre-encoded JSON) without extra quoting/escaping. Handy for configs and API payloads when parts must stay untouched, with a simple API and reliable output. | 64 | 3 | 0 | 199K | 0 | 0.2 | 34.0 | — | — | |
| mikemccabe/json-patch-php | 0.85 | PHP library implementing JSON Patch (RFC 6902) and JSON Pointer (RFC 6901). Diff two JSON documents, apply patch operations, or read values via pointers. Works with json_decode(..., true) arrays; includes optional SimpleXML-style array handling. | 112 | 112 | 25 | 34K | 8 | 4.3 | 38.1 | — | 11 years ago | |
| egeloen/serializer | 0.85 | — | 29 | 29 | 20 | 1K | 6 | 2.6 | 25.0 | MIT | — | |
| wizbii/json-serializer | 0.85 | A lightweight PHP library that turns objects into clean, predictable JSON using attributes and annotations. Configure property names, nested objects, arrays, and date formats with minimal boilerplate, and get consistent API responses in Laravel or any PHP project. | 0 | 0 | — | 944 | — | 0.0 | 41.1 | — | — | |
| enm/json-api-server | 0.85 | Abstract server-side PHP implementation of the JSON:API specification, built on enm/json-api-common. Provides endpoints, request handling, and exception handling for building JSON:API-compliant APIs in Laravel or any PHP application. | 12 | 12 | 4 | 0 | 0 | 0.4 | — | MIT | 8 years ago | |
| ergebnis/json-normalizer | 0.85 | A Composer package for PHP that provides generic and vendor-specific normalizers for JSON documents, with normalizers for formatting, indentation, schemas, chaining, encoding, and final newline handling. | 83 | 84 | 5 | 2M | 0 | 29.8 | 65.3 | MIT | 1 week ago | |
| json-mapper/laravel-package | 0.85 | Map JSON payloads and arrays into typed PHP objects and DTOs with this Laravel package. A fluent API defines field mappings, nested structures, and collections, with clean integration into Laravel's container, facades, and config. | 25 | 25 | 5 | 12K | 0 | 8.9 | 39.4 | MIT | 7 months ago | |
| nilportugues/json-api | 0.85 | A PHP package for building JSON API (jsonapi.org) compliant responses, with Laravel support. It transforms Eloquent models and collections into standardized resources, handling includes, pagination, links, meta and error objects so your API follows the spec without manual serialization. | 69 | 71 | 34 | 407 | 11 | 4.6 | 15.1 | MIT | 8 years ago | |
| markup/json | 0.84 | Markup JSON is a lightweight PHP package for working with JSON as markup. It offers a simple way to parse or render JSON data into readable HTML output, making it useful for Laravel and PHP projects that need to display or transform JSON content. | 3 | 3 | 1 | 69 | 0 | 0.4 | 17.4 | — | 7 years ago | |
| seld/jsonlint | 0.84 | A PHP JSON parser and linter that validates JSON with clear error messages, supports parsing, duplicate-key handling, comments, associative arrays, and UTF-8 validation. | 1,322 | 1,348 | 58 | 4M | 0 | 27.9 | 53.6 | MIT | 4 months ago | |
| webnuvola/laravel-json-ld | 0.84 | Laravel JSON-LD makes it easy to generate Schema.org structured data in your applications. Build and output rich, search-engine-friendly JSON-LD markup with a fluent API, so you can add valid structured data to your views and improve SEO without hand-writing scripts. | 5 | — | 1 | — | 1 | 19.5 | — | MIT | 4 weeks ago | |
| andrey-helldar/laravel-json-response | 0.84 | A Laravel package for building consistent JSON API responses with a fluent helper, standard success and error payloads, HTTP status codes, headers, and resource support, simplifying controller output and keeping API responses uniform. | 12 | — | 1 | — | 0 | 4.1 | — | MIT | 7 months ago | |
| ergebnis/json-pointer | 0.84 | RFC 6901 JSON Pointer abstraction for PHP. Create and convert reference tokens and pointers between plain strings, JSON strings, and URI fragment identifiers, handling proper escaping/encoding. Install via Composer: ergebnis/json-pointer. | 22 | 21 | 0 | 2M | 0 | 22.6 | 64.2 | MIT | 1 month ago |
How can I help you explore Laravel packages today?