netresearch/jsonmapper
Map JSON to strongly-typed PHP objects with JSONMapper. Hydrate class properties from stdClass/arrays, support nested objects and collections, docblock/type-hint based mapping, and optional strict checking for missing or invalid fields.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| enm/json-api-server | 0.88 | 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 | |
| art4/json-api-client | 0.88 | A PHP library for parsing and validating JSON:API documents. It turns responses into typed resources, relationships, links, errors, and meta objects, helping you build reliable JSON:API clients without manual array handling. | 138 | — | 21 | — | 5 | 2.7 | 1.5 | GPL-3.0 | 2 years ago |
|
| laravel-json-api/non-eloquent | 0.88 | Laravel JSON:API adapter for non-Eloquent data sources, letting you expose custom repositories or external APIs through the JSON:API spec with resources, relationships, filtering, sorting, and pagination—no Eloquent models required. | 4 | 4 | 1 | 24K | 0 | 0.1 | 50.7 | MIT | — | |
| nilportugues/json-api | 0.87 | 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 | |
| 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 | 33K | 2 | 1.9 | 39.1 | MIT | 5 years ago | |
| enm/json-api-server-bundle | 0.87 | Symfony integration for enm/json-api-server that wires JSON:API handling into your project. Configure bundles, routing, and optional URL prefixes, register request handlers via service tags by resource type, and get built-in error handling for all standard JSON:API endpoints. | 10 | 10 | 4 | 0 | 2 | 0.6 | 0.8 | MIT | 8 years ago | |
| nilportugues/laravel5-json-api | 0.86 | Laravel 5 package for building APIs that follow the JSON API specification (jsonapi.org). It transforms Eloquent models and collections into spec-compliant responses, including relationships, pagination, errors, and content negotiation, with minimal setup and configuration. | 309 | 312 | 69 | 6 | 36 | 14.9 | 14.4 | MIT | 10 years ago | |
| json-mapper/json-mapper | 0.86 | JSON Mapper turns raw JSON from APIs into strongly-typed PHP objects. Define a mapper class, cast and nest values, and get clean, validated data models instead of arrays—with framework support for Laravel. | 220 | 224 | 30 | 124K | 9 | 24.4 | 47.4 | 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 | |
| jolicode/automapper | 0.84 | A fast, flexible object-to-object mapper for PHP inspired by .NET's AutoMapper. Map between objects, arrays, and scalars using attributes, with automatic type conversion, nested mappings, custom transformers, and zero-config defaults. Framework-agnostic, works great with Symfony. | 220 | — | 27 | — | 1 | 19.7 | 0.4 | MIT | 1 month ago | |
| json-mapper/symfony-bundle | 0.84 | Symfony bundle that integrates JSON Mapper into your Symfony application, providing service configuration and dependency injection for mapping JSON data to PHP objects. Simplifies setup so you can configure mappers and use them via the container. | 0 | 0 | 1 | 20 | 0 | 0.3 | 18.3 | MIT | 3 years ago | |
| uni-method/jsonapi-mapper | 0.84 | A Laravel package for mapping Eloquent models to JSON:API resources. Define resource classes covering attributes, relationships and links, then transform models into spec-compliant JSON:API documents with consistent, predictable serialization. | 3 | 3 | 0 | 2K | 0 | 0.0 | 38.4 | — | — | |
| karriere/json-decoder | 0.84 | 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 | |
| json-mapper/eloquent-middleware | 0.83 | Laravel middleware package for integrating JsonMapper with Eloquent, helping map JSON payloads to models and serialize models back to JSON. Reduces boilerplate for API request and response handling. | 0 | 0 | 1 | 0 | 1 | 0.4 | — | MIT | 1 year ago | |
| shureban/laravel-object-mapper | 0.83 | Laravel object mapper maps JSON strings, arrays, and FormRequest data into typed PHP objects (DTOs) using reflection. Use inheritance, a trait, or ObjectMapper directly; supports readonly DTOs and static constructors. Works out of the box via auto-discovery. | 3 | 3 | 1 | 203 | 1 | 21.0 | 27.3 | MIT | 2 months ago | |
| league/object-mapper | 0.83 | A lightweight object-to-object mapper for PHP that converts one class into another using reflection and PHP attributes. Define property mappings, handle nested objects, arrays, and collections, and reduce boilerplate when transforming DTOs, entities, and API payloads. | 36 | 36 | 4 | 1K | 3 | 1.0 | 21.8 | MIT | — | |
| apimatic/jsonmapper | 0.82 | apimatic/jsonmapper is a lightweight PHP JSON-to-object mapper for converting API responses into typed models. It maps arrays/JSON to class properties with minimal setup, supports nested structures, and helps keep data hydration consistent across your application. | 24 | 26 | 7 | 507K | 7 | 10.8 | 57.2 | OSL-3.0 | 1 year ago | |
| ergebnis/json | 0.82 | 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 | |
| timacdonald/json-api | 0.82 | — | 641 | 644 | 50 | 99K | 8 | 21.0 | 36.1 | — | 7 months ago | |
| beste/json | 0.82 | 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 |
How can I help you explore Laravel packages today?