Consider creating helpers for model factories

Consider creating helpers for model factories

If your app has only a few models, consider creating helper functions for model factories

Helpers have perfect IDE support and can make your tests a lot cleaner

Pairs especially well with @pestphp 💅

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