Laravel: Using Unsplash API with a Service Layer and DTOs

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?

Photo by Alexander Sinn on Unsplash

Unsplash is probably the most popular stock photography website, and it has a very big reason to be so…