You can use factories for generating ANY fake test data by making them use the Fluent model

You can use factories for generating ANY fake test data by making them use the Fluent model

I really love using Laravel's Eloquent factories for generating fake test data. Did you know that you can also use them to generate fake API response data by using "Fluent" as the model name? Super cool! 🤯

We're writing a book, you can get it for free here.