Support the ongoing development of Laravel.io →

Sarmen B

Joined 30 Mar 2021

Statistics

Threads 1
Replies 2
Solutions 0
Articles 0
posted 3 years ago

Using Factory Relationships

I have two factories one for categories and another for products. When i run the factory i want to c...

0 Likes
4 Replies
replied 3 years ago

Using Factory Relationships

yes i have , thanks :)

0 Likes
replied 3 years ago

Using Factory Relationships

kevin, all that does is create 1 product , this is what worked for me instead Product::factory() -&g...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.