Writing testable code in Laravel with Pest
We will take a look at how to write testable code and properly mock objects. To write the tests we can use the Pest package (build on top of PHP Unit) to write readable and clean tests.
We will take a look at how to write testable code and properly mock objects. To write the tests we can use the Pest package (build on top of PHP Unit) to write readable and clean tests.
In this post I would like to show you how easy it is to use open source models through the Replicate API in a Laravel application.