Our great sponsors
-
Serializer
Library for (de-)serializing data of any complexity (supports JSON, and XML) (by schmittjoh)
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Only took a very brief look, but it looks nice. I like that the DTO class isn't required to extend anything, and that it seems to be for real DTOs used for actual transfer of data between systems - not 'local dtos'. It feels like this might be more comparable to something like schmittjoh/serializer rather than spatie/data-transfer-object.
Only took a very brief look, but it looks nice. I like that the DTO class isn't required to extend anything, and that it seems to be for real DTOs used for actual transfer of data between systems - not 'local dtos'. It feels like this might be more comparable to something like schmittjoh/serializer rather than spatie/data-transfer-object.
Related posts
- A (very) small package to cast a variable to a new type, in including custom classes
- Given a messy class used _heavily_ with a hard time understanding whats going on... how to log stuff in testing / demo??
- Refactoring #5: From arrays to Data Transfer Objects
- Leveraging DTOs for JSON database columns as an alternative to additional tables
- What are peoples thoughts/feelings regarding PHP attributes?