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

If you like our content, please consider buying me a coffee.

Thank you for your support!

Buy me a coffeeBuy me a coffee

Leave a reply:

Your email address will not be published.

Site Footer