First of all I am new to laravel. I have installed laravel 5.5 and have configured the register and login and I am trying to add email verification when a user registers. I have pulled in composer require josiasmontag/laravel-email-verification. This is my route
Route::get('/', function () {
return view('welcome');
});
Auth::routes();
Route::group(['middleware' => ['web', 'auth', 'isEmailVerified']], function () {
('/home', 'HomeController@index')->name('home')
}
and done everything but when I test it I get
when I test it I get
"Parse error: syntax error, unexpected ','" and it is coming from the route
please help