fungio/json-builder
A Laravel/PHP package for assembling JSON programmatically. It provides a fluent, chainable API to build nested arrays and objects cleanly, so you can generate structured JSON for APIs, configs, or dynamic payloads without hand-writing arrays. Keeps complex JSON construction readable and maintainabl...
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| camspiers/json-pretty | 0.86 | 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 | 5K | 1 | 0.7 | 22.6 | MIT | 10 years ago | |
| fsi/json-builder | 0.85 | A PHP library for building JSON through Symfony's PropertyAccess component while keeping control of value escaping. Set structured values and raw fragments, then generate output such as {"foo":["bar"],"baz":bat}. | 1 | 1 | 0 | 299 | 0 | 0.3 | 30.1 | MIT | 8 years ago | |
| hoa/json | 0.85 | Hoa\Json is a PHP library for parsing, encoding, and manipulating JSON documents. It provides a grammar-based parser and structured tools for working with JSON data reliably in PHP applications. | 12 | 10 | 6 | 24 | 2 | 0.4 | 4.7 | — | 9 years 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 | |
| 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 | 24 | 9K | 0 | 1.3 | 27.0 | MIT | — | |
| webnuvola/laravel-json-ld | 0.85 | 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 | |
| php-standard-library/json | 0.85 | A small PHP Standard Library package for JSON encoding and decoding with typed exceptions and sensible defaults, providing predictable error handling for safer serialization in Laravel and other PHP projects. | 1 | 1 | 0 | 96K | 0 | 21.4 | 64.8 | MIT | 1 week 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 | |
| dragon-code/laravel-json-response | 0.84 | A Laravel package for building consistent JSON API responses. It provides fluent helpers for success, error, and custom payloads, helping standardize response structure and reduce boilerplate across controllers and APIs. | 12 | 12 | 1 | 424 | 0 | 3.9 | 16.3 | MIT | 7 months ago | |
| json-mapper/laravel-package | 0.84 | 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 | |
| eastwest/json | 0.84 | A lightweight Laravel/PHP package that wraps JSON handling in a clean, fluent API, making it easy to encode, decode, inspect, and manipulate JSON data safely inside your applications. | 93 | 93 | 5 | 7K | 0 | 0.3 | 18.1 | MIT | 8 years ago | |
| webmozart/json | 0.84 | A robust PHP library for decoding, encoding, and validating JSON. It provides clear error messages with line and column details, JSON Schema validation, and convenient file handling via JsonFile, making JSON processing safer and easier in PHP applications. | 352 | — | 27 | — | 7 | 5.0 | 3.8 | MIT | 10 years ago |
|
| beste/json | 0.83 | 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 | |
| boundwize/jsonrecast | 0.83 | JsonRecast is an editable JSON AST for PHP with visitor traversal and formatting-preserving printing. Update JSON content programmatically while keeping indentation, spacing, and key order intact, so output differs only where you made changes—ideal for composer.json and config files. | 5 | 6 | 0 | 186K | 0 | 33.9 | 64.4 | MIT | 3 weeks ago | |
| atheon/json-builder | 0.83 | — | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 4 years ago | |
| markup/json | 0.83 | 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 | |
| karriere/json-decoder | 0.83 | 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. | 139 | 141 | 23 | 6K | 1 | 7.9 | 24.3 | NOASSERTION | 8 months ago | |
| opensoft/simple-serializer | 0.83 | opensoft/simple-serializer is a lightweight PHP serializer for turning objects and Eloquent models into arrays or JSON. Define attributes once and produce consistent, predictable API payloads with minimal boilerplate and configuration. | 19 | — | 8 | — | 1 | 0.5 | — | MIT | — |
|
| kherge/json | 0.82 | kherge/json is a PHP library for encoding and decoding JSON through a clean, object-oriented API. It adds validation, detailed error handling, and configurable formatting on top of PHP's native JSON functions, making data exchange safer and easier to manage. | 60 | — | 12 | — | 0 | 0.7 | — | NOASSERTION | — |
|
| coduo/php-to-string | 0.82 | Convert any PHP value to a readable string with a tiny wrapper. Supports strings, ints, floats, arrays, objects, callables, and resources—handy for logging, debugging, and error messages. Simple install and use: new StringConverter($value). | 268 | 271 | 7 | 205K | 0 | 7.7 | 40.7 | MIT | 11 months ago |
How can I help you explore Laravel packages today?