If you will have a look on this new library:
laravel-fakerino.
You will use maybe less lines of code, faking the table also via command line, or passing the entity straight to the fakeEntity method, like:
$myEntity = new MyEntity();
$fakerino->fakeEntity($myEntity);
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community