Answer Posted / sachin-laradev
Here is an example of auth middleware route group
Route: :group(['prefix' => 'auth'], function () {
Route::get('/login'"AuthController@login");
Route: :post('/login',"AuthController@authenticate');
Route: :get('/logout'"AuthController@logout");
});
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
In which folder robot.txt is placed?
Explain contextual binding and how does it work?
Explain how to enable multiple php versions in homestead?
What is the service container in laravel?
What is a composer, and how can we install laravel by the composer?
List the applications supported by valet?
How do I register a service provider?
What is a Laravel - Authentication ?
What is remember token in laravel?
What are the advantages of using laravel?
Explain how to redirect user with flashed session data in laravel?
What is meant by Retrieving Input ?
How do you generate urls?
How do you call artisan command in laravel?
Explain dependency injection?