json-mapper
Maps JSON data to strongly typed PHP DTOs (by brick)
laravel-data
Powerful data objects for Laravel (by spatie)
json-mapper | laravel-data | |
---|---|---|
2 | 3 | |
172 | 1,130 | |
1.2% | 3.5% | |
4.5 | 9.7 | |
12 days ago | 7 days ago | |
PHP | PHP | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
json-mapper
Posts with mentions or reviews of json-mapper.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-20.
laravel-data
Posts with mentions or reviews of laravel-data.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-20.
- Data-Mapper: A package for fast mapping of strong-typed objects
-
What environment, framework or class would you use to interact with APIs?
Successor: https://github.com/spatie/laravel-data
-
Translating multiple external APIs data to a model that can later be persisted. Help me with my CS knowledge gap
Strictly speaking it doesn't fit DTOs or VOs (e.g. equality could be based on identity). There's a package with some similar ideas but I don't like the smell of it https://github.com/spatie/laravel-data.
What are some alternatives?
When comparing json-mapper and laravel-data you can also consider the following projects:
doctrine-laminas-hydrator - Doctrine hydrators for Laminas applications
Valinor - PHP library that helps to map any input into a strongly-typed value object structure.
Laravel-Excel - 🚀 Supercharged Excel exports and imports in Laravel
data-transfer-object - Data transfer objects with batteries included
data-mapper - Maps raw data into a strong-typed PHP object
Serde - Robust Serde (serialization/deserialization) library for PHP 8.
Cachet - 🚦 The open-source status page system.
ObjectHydrator - Object Hydration library to create Command and Query objects.
JsonMapper - Map nested JSON structures onto PHP classes
json-mapper vs doctrine-laminas-hydrator
laravel-data vs Valinor
json-mapper vs Valinor
laravel-data vs Laravel-Excel
json-mapper vs data-transfer-object
laravel-data vs data-transfer-object
json-mapper vs data-mapper
laravel-data vs data-mapper
json-mapper vs Serde
laravel-data vs Cachet
json-mapper vs ObjectHydrator
laravel-data vs JsonMapper