Sean Kegelseankegel.com·Sep 30, 2023Laravel Data and Value ObjectsRecently, I was presented with a problem using value objects with the Laravel Data package by Spatie. I have been trying to use value objects a lot more in my code for things like money, emails, phone numbers, etc. When I am working with data from an...Discuss·1 like·1.3K readsLaravel
Peter Hrobardihjital.hashnode.dev·May 19, 2023Supercharge Laravel’s validation with value objectsPhoto by Tim Gouw on Unsplash Laravel is a popular PHP framework that provides a robust and flexible validation system for handling user input and ensuring data integrity. Laravel’s validation system allows you to define validation rules for incomin...Discuss·1 likePHP