Getting Faker instance in Laravel Tinker

Here is how you can get access to the Faker Instance in the Artisan tinker

$faker = Faker\Factory::create();

That’ it. That’s the post.

Related Articles

Leave a reply:

Your email address will not be published.

Site Footer