greggilbert / recaptcha

[ABANDONED] reCAPTCHA Validator for Laravel 5
MIT License
714 stars 196 forks source link

Recaptcha Issue #70

Closed kameshveera closed 9 years ago

kameshveera commented 9 years ago

I have a laravel 5 . I got following error '[Symfony\Component\Debug\Exception\FatalErrorException] Class 'Greggilbert\Recaptcha\RecaptchaServiceProvider' not found' when run this command "php artisan vendor:publish".

greggilbert commented 9 years ago

Add the service provider into your config before you publish.

hff135 commented 7 years ago

I had this problem too and it took me a while to figure it out.

The solution is to make the composer.json changes first and then run "composer update". After that, make the changes to config/app.php. Finally, run the "php artisan vendor:publish" command.

Fedchishina commented 7 years ago

@hff135 , thank you very much!!!

woenel commented 7 years ago

@hff135 Works pretty well. Thanks a lot.

m-elewa commented 6 years ago

@hff135 hopefully they added to the main documentation thank you.