1

I'm new to Laravel 5 and I'm trying to do

php artisan make:migration create_projects_and_tasks_tables --create="projects"

and I got this error:

[Symfony\Component\Debug\Exception\FatalErrorException]
Class 'dodong\Providers\AppServiceProvider' not found

anyone has ideas what's wrong with this one? any help would be greatly appreciated. Thank you!

Juliver Galleto
  • 8,831
  • 27
  • 86
  • 164

2 Answers2

1

Edit app/Providers/AppServiceProvider.php as below:

<?php namespace dodong\Providers;
itmanvn
  • 11
  • 2
0

Did you try to search your project for 'dodong\Providers\AppServiceProvider'? It's not a standard Laravel service provider; maybe you removed a composer package but forgot to update the providers list in config/app.php?

Another alternative is that it's misspelled since the first letter in "dodong" is not capitalized, and Googling it renders no relevant results.

Erik Johansson
  • 1,646
  • 1
  • 14
  • 19