Class App\Providers\AppServiceProvider not found within ProviderRepository.php

Posted 1 week ago by N16h7h4wk

Running Laravel 5.4

I updated the namespace of our Laravel app and now I get this error with all commands using artisan:

In ProviderRepository.php line 208: Class 'App\Providers\AppServiceProvider' not found

I reverted back to the original namespace of app and still having this issue.

My question is how do you properly register this class within ProviderRepository.php? I can not find clear instructions unless someone can direct me in the right direction.

I am fairly new to Laravel, so I do apologize for sounding like a Noob.

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels

Reply to

Use Markdown with GitHub-flavored code blocks.