Thanks for sharing, jcwatson11!
I'll keep this in mind when I need such functionality.
Sure. Happy to be able to contribute. It has turned out pretty useful. Seems like there are a lot of factory type methods out there, but nothing suitable for creating Eloquent models on the fly without having to write much code.
Now there is. :)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community