Fractal
serializer
Our great sponsors
Fractal | serializer | |
---|---|---|
4 | 2 | |
3,511 | 2,450 | |
0.3% | 0.9% | |
0.0 | 8.9 | |
about 1 month ago | 3 days 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.
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.
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:
What are some alternatives?
Serializer - Library for (de-)serializing data of any complexity (supports JSON, and XML)
Valinor - PHP library that helps to map any input into a strongly-typed value object structure.
YaLinqo - Yet Another LINQ to Objects for PHP [Simplified BSD]
data-transfer-object - Data transfer objects with batteries included
PHP Collections - General Purpose Collection Library for PHP
doctrine-laminas-hydrator - Doctrine hydrators for Laminas applications
JsonMapper - Map nested JSON structures onto PHP classes
ObjectHydrator - Object Hydration library to create Command and Query objects.
Collections
psalm-plugin-doctrine - Stubs to let Psalm understand Doctrine better
Zend Serializer
php-dto - A data transfer object inspired by Rust's serde