serializer
Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like XML and JSON. (by symfony)
laravel-data
Powerful data objects for Laravel (by spatie)
Our great sponsors
serializer | laravel-data | |
---|---|---|
2 | 3 | |
2,450 | 1,119 | |
0.9% | 6.5% | |
8.9 | 9.7 | |
6 days ago | 5 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.
serializer
Posts with mentions or reviews of serializer.
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 symfony/serializer:
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 serializer and laravel-data you can also consider the following projects:
Valinor - PHP library that helps to map any input into a strongly-typed value object structure.
data-transfer-object - Data transfer objects with batteries included
Laravel-Excel - 🚀 Supercharged Excel exports and imports in Laravel
Fractal - Output complex, flexible, AJAX/RESTful data structures.
json-mapper - Maps JSON data to strongly typed PHP DTOs
doctrine-laminas-hydrator - Doctrine hydrators for Laminas applications
ObjectHydrator - Object Hydration library to create Command and Query objects.
data-mapper - Maps raw data into a strong-typed PHP object
psalm-plugin-doctrine - Stubs to let Psalm understand Doctrine better
Cachet - 🚦 The open-source status page system.
serializer vs Valinor
laravel-data vs Valinor
serializer vs data-transfer-object
laravel-data vs Laravel-Excel
serializer vs Fractal
laravel-data vs json-mapper
serializer vs doctrine-laminas-hydrator
laravel-data vs data-transfer-object
serializer vs ObjectHydrator
laravel-data vs data-mapper
serializer vs psalm-plugin-doctrine
laravel-data vs Cachet