SaaSHub helps you find the best software and product alternatives Learn more →
Data-transfer-object Alternatives
Similar projects and alternatives to data-transfer-object
-
Laravel
Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
Serializer
Library for (de-)serializing data of any complexity (supports JSON, and XML) (by schmittjoh)
-
git-auto-commit-action
Automatically commit and push changed files back to GitHub with this GitHub Action for the 80% use case.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
serializer
Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like XML and JSON.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
data-transfer-object reviews and mentions
- Data-Mapper: A package for fast mapping of strong-typed objects
- brick/json-mapper: map JSON data to strongly typed PHP DTOs
-
A (very) small package to cast a variable to a new type, in including custom classes
Speaking of… https://github.com/spatie/data-transfer-object is dead, does doctrine offer similar functionality?
-
Given a messy class used _heavily_ with a hard time understanding whats going on... how to log stuff in testing / demo??
Once you are confident in the argument types, add them to the methods. If there are too many, create a Data Transfer Object. Also add method return types.
-
Refactoring #5: From arrays to Data Transfer Objects
The benefits of using DTOs are numerous, there's even a package from Spatie for them. See the package's release post and this awesome DTO explanation for a more in-depth take and how to implement and use them in a more sensible way.
-
Leveraging DTOs for JSON database columns as an alternative to additional tables
I opted to use Spatie's DTO package and a bit of additional custom code for easy casting. I decided to map each JSON column to its own DTO, so I created two classes for land and for army.
-
What are peoples thoughts/feelings regarding PHP attributes?
When possible, I surely will try using the spatie/data-transfer-object with attributes to see if I like it.
-
Workflow to keep CHANGELOG up-to-date with Release Notes
Open Source projects using this Action. Mostly my own projects, as I just released the Action. However, Spatie, a huge contributor to open source PHP packages recently added the workflow to their PHP package template; which makes me super proud ♥️
-
Restricting ORM objects to repository classes and DTOs
This spatie lib looks neat too, though it might not be all that static analysis friendly. I guess this doesn't save you from having two classes with the same properties. Seems like it could be worth a shot. Short of inventing a code generation tool I don't know how much better I can do.
- Autoload callback when certain class is called first time
-
A note from our sponsor - SaaSHub
www.saashub.com | 7 May 2024
Stats
spatie/data-transfer-object is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of data-transfer-object is PHP.
Popular Comparisons
- data-transfer-object VS php-dto
- data-transfer-object VS Serializer
- data-transfer-object VS package-skeleton-laravel
- data-transfer-object VS git-auto-commit-action
- data-transfer-object VS fram
- data-transfer-object VS Valinor
- data-transfer-object VS Doctrine
- data-transfer-object VS serializer
- data-transfer-object VS openlittermap-web
- data-transfer-object VS json-mapper
Sponsored