bagisto / laravel-data-faker

Creates fake data of products and customers for testing
MIT License
23 stars 23 forks source link

Class 'Webkul\DataFaker\DataFakerServiceProvider' not found #8

Closed reyalo closed 3 years ago

reyalo commented 4 years ago

When I try to setup laravel-data-faker it shows me these error,

In ProviderRepository.php line 208:

Class 'Webkul\DataFaker\DataFakerServiceProvider' not found

Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1

Installation failed, reverting ./composer.json to its original content.

GiovanniMounir commented 4 years ago

I had the same issue: there is a typo in the file DatbaseSeeder.php; renaming it to DatabaseSeeder.php fixed the problem for me.