Laravel : 8.x
PHP : 7.6.4
I make all from documentation (https://laravel.com/docs/8.x/verification), almost all works fine, but when i click link from email, i have :
IlluminateContractsContainerBindingResolutionException
Target class [IlluminateFoundationAuthEmailVerificationRequest] does not exist.
in route/web.php (as documentation says
use IlluminateFoundationAuthEmailVerificationRequest;
Route::get('/email/verify/{id}/{hash}', function (EmailVerificationRequest $request) {
$request->fulfill();
return redirect('/home');
})->middleware(['auth', 'signed'])->name('verification.verify');
I dont know what happens.
Hasn't been tagged yet. I'm going to this afternoon.
@HelDoRe Just upgrade laravel, this class was missing in first versions of 8.x.
composer update
Most helpful comment
@HelDoRe Just upgrade laravel, this class was missing in first versions of 8.x.
composer update