From 57dd9fd919048ab0bdbd75f1ef862065e847c9a9 Mon Sep 17 00:00:00 2001 From: Ignatius Aggrey <41928390+IggsGrey@users.noreply.github.com> Date: Fri, 6 Nov 2020 07:52:57 +0000 Subject: [PATCH] Update README.md Fix For "Class 'Faker\Generator\Provider\Youtube' not found" when trying to run seeds by following ReadMe. Laravel version: 6.2 Faker version: 1.9.1 Steps to reproduce (fixed) error 1. Install laravel 6.2 2. install package. 3. Setup factory following current ReadMe in master 4. Run seeder --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 91afca1..1d45577 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ composer require aalaap/faker-youtube ```php $faker = \Faker\Factory::create(); -$faker->addProvider(new Faker\Provider\Youtube($faker)); +$faker->addProvider(new \Faker\Provider\Youtube($faker)); ``` ```