I sometimes find that it would be useful to use
artisan tinker to play with the sorts of data that Faker will generate in a Laravel factory. Unfortunately I don’t do it often enough to always remember the correct way to do it, since the obvious
new Faker\Generator doesn’t work. So for future reference, what you need is:>>> $faker = Faker\Factory::create();
]]>