JsonMapper
Map nested JSON structures onto PHP classes (by cweiske)
Fractal
Output complex, flexible, AJAX/RESTful data structures. (by thephpleague)
Our great sponsors
JsonMapper | Fractal | |
---|---|---|
4 | 4 | |
1,538 | 3,508 | |
- | 0.3% | |
6.8 | 0.0 | |
9 days ago | 12 days ago | |
PHP | PHP | |
OpenSSL 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.
JsonMapper
Posts with mentions or reviews of JsonMapper.
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
-
brick/json-mapper: map JSON data to strongly typed PHP DTOs
Most notable differences with netresearch/jsonmapper:
-
Development process for external APIs
Besides files structure and design patterns, I like to use this amazing class to map json response payloads to pho classes https://github.com/cweiske/jsonmapper
Fractal
Posts with mentions or reviews of Fractal.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-11-11.
-
Coming from PHP, looking for Go equivalent of PHPLeague's Fractal
So, I've been developing in PHP for quite some time and have recently made my transition to Go. I'm trying to figure out if there's a way to get similar feature sets of https://fractal.thephpleague.com.
-
Why PHP is a fantastic language to program in
BTW if more of us started implementing at least some of the json:api standard things would go a lot better. Fractal works well with this resource-centric thinking, as does the repository pattern.
What are some alternatives?
When comparing JsonMapper and Fractal you can also consider the following projects:
Serializer - Library for (de-)serializing data of any complexity (supports JSON, and XML)
YaLinqo - Yet Another LINQ to Objects for PHP [Simplified BSD]
PHP Collections - General Purpose Collection Library for PHP
Collections
Serializard - Flexible serializer encouraging good object design
CRUDlex - CRUDlex is an easy to use CRUD generator for Symfony 4 and Silex 2 which is great for auto generated admin pages
Zend Serializer
Cake Collection - [READ-ONLY] Collection library in CakePHP. This repo is a split of the main code that can be found in https://github.com/cakephp/cakephp
PINQ - PHP Integrated Query, a real LINQ library for PHP