artdarek / oauth-4-laravel

OAuth Service Provider for Laravel 4
684 stars 216 forks source link

Class 'Artdarek\OAuth\OAuthServiceProvider' not found #41

Open pramod1988 opened 10 years ago

pramod1988 commented 10 years ago

I am newbie in laravel and i want to implement login with facebook on laravel and using your plugin getting error Class 'Artdarek\OAuth\OAuthServiceProvider' not found. Can you please help me in this?

MikeElghali commented 10 years ago

Hi,

Please read first : https://github.com/artdarek/oauth-4-laravel#installation

Then for configuration : https://github.com/artdarek/oauth-4-laravel#configuration

amraei commented 9 years ago

I get the same error while running composer update:

[Symfony\Component\Debug\Exception\FatalErrorException]  
Class 'Artdarek\OAuth\OAuthServiceProvider' not found    

Script php artisan clear-compiled handling the pre-update-cmd event returned with an error

[RuntimeException]                                                                                         
Error Output: PHP Fatal error:  Class 'Artdarek\OAuth\OAuthServiceProvider' not found in /path/to/app/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 146

I'm using Laravel 5.

tonychan818 commented 8 years ago

I got the same error too...

artdarek commented 8 years ago

try to use composer update --no-scripts

tonychan818 commented 8 years ago

it works! thanks

udemethegrtman commented 8 years ago

am at the configurations section "php artisan config:publish artdarek/oauth-4-laravel" but i am getting errors like every one else. Class 'Artdarek\OAuth\OAuthServiceProvider' not found