serializer
Fractal
Our great sponsors
serializer | Fractal | |
---|---|---|
2 | 4 | |
2,450 | 3,511 | |
0.9% | 0.3% | |
8.9 | 0.0 | |
3 days ago | about 1 month ago | |
PHP | PHP | |
MIT License | MIT License |
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.
serializer
- 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 symfony/serializer:
Fractal
-
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.
-
Best way of removing data from api response.
I have had luck utilizing Fractal Basically it is what you are asking for, you create a rule and transform the data
- Aprende eloquent con ejemplos!!! - Lección 3: Modelos, Tinker y Base de datos heredadas
-
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?
Valinor - PHP library that helps to map any input into a strongly-typed value object structure.
Serializer - Library for (de-)serializing data of any complexity (supports JSON, and XML)
data-transfer-object - Data transfer objects with batteries included
YaLinqo - Yet Another LINQ to Objects for PHP [Simplified BSD]
doctrine-laminas-hydrator - Doctrine hydrators for Laminas applications
PHP Collections - General Purpose Collection Library for PHP
ObjectHydrator - Object Hydration library to create Command and Query objects.
JsonMapper - Map nested JSON structures onto PHP classes
psalm-plugin-doctrine - Stubs to let Psalm understand Doctrine better
Collections
php-dto - A data transfer object inspired by Rust's serde
Zend Serializer