laravel-user-email-verification
laravel-user-email-verification copied to clipboard
not working :(
Hey,
There are 2 installation instructions... which one to follow?
- https://github.com/edvinaskrucas/laravel-user-email-verification
- http://www.krucas.com/2016/04/user-email-verification-for-laravel-5/
Thanks, Avi
ya same here, even publish didnt work
Not working with Laravel 5.3 Command php artisan verification:make gives: Migrations created successfully! Installed VerifyController Updated routes.php
[ErrorException]
file_get_contents(/var/www/html/l5/app/Http/routes.php): failed to open stream: No such file or directory
Yes because it is not compatible for Laravel 5.3 because of the laravel's folder structure changes in 5.3. From now on route.php is web.php and location is inside routes folder. So Find: vendor/edvinaskrucas/laravel-user-email-verification/src/Krucas/LaravelUserEmailVerification/Console/MakeVerificationCommand.php
than change the appendRoutes function with the below one:
protected function appendRoutes()
{
$path = base_path('routes/web.php');
file_put_contents(
$path,
file_get_contents($path)."\n\n".file_get_contents(__DIR__.'/stubs/routes.stub')
);
}
}
After that, try it php artisan verification:make
That's all !
@burhanmt https://github.com/jrean/laravel-user-verification