Laravel: Using Unsplash API with a Service Layer and DTOs
6 min readOct 17, 2020
In this tutorial, I will show you a way of architecture a Service Layer in Laravel, to interact with the Unsplash API. The Service Layer using DTOs, won’t have any concerns about validating data. Let’s see how.
What is Unsplash?
Unsplash is probably the most popular stock photography website, and it has a very big reason to be so…