Hey, I'm writing a book.  Eloquent Beyond The Basics

🔥 Laravel Tip: Belongs To relationships in factories.

Dec 20, 2022

There are multiple ways of creating models that belong to the same object when using factories in your test.
tip-image-0