Building Maintainable PHP Applications: Data Transfer Objects
– davorminchorov.com - submitted by Davor Minchorov
Learn about data transfer objects, why they are useful and why it's better to use them over arrays.
Read more [davorminchorov.com]
Posts tagged with dto
– davorminchorov.com - submitted by Davor Minchorov
Learn about data transfer objects, why they are useful and why it's better to use them over arrays.
Read more [davorminchorov.com]
– aleksandertabor.com - submitted by Aleksander Tabor
Learn how to use objects like Data Transfer Objects in Livewire with Wireables.
Read more [aleksandertabor.com]
Join 9,500+ smart developers
Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
"Always fresh, useful tips and articles. Carefully selected community content. My favorite newsletter, which I look forward to every time."
– seankegel.com - submitted by Sean Kegel
A comprehensive guide for creating custom Data Transfer Objects (DTOs) to enhance readability, efficiency, and testability in Laravel API integrations.
Read more [seankegel.com]
– www.conroyp.com - submitted by Paul Conroy
Value objects are a great way to add safety and consistency to PHP applications, while improving readability & testability. Let's dive into what they are, what they're not (DTOs!), and how they can help us improve our code quality.
Read more [www.conroyp.com]
Matthias Noback explains the difference.
Read more [matthiasnoback.nl]
Jess has created a cool laravel-castable-data-transfer-object package. In this blog post she explains in great details how it works.
Read more [jessarcher.com]
My colleague Ruben introduces the laravel-typescript-transformer package he created. This one can convert backend classes, like enums and DTOs, to TypeScript definitions.
Read more [rubenvanassche.com]
Leonel Elimpe explains how you can use our DTO package.
Read more [github.com]