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
Describe laravel service provider?
Why composer is used in laravel?
What is a pull() ?
Tell me how to get current environment in laravel 5?
Provide system requirements for installation of laravel framework?
What are the basic concepts in laravel?
Exceptions are handled by which class?
What are the differences between laravel and codeigniter?
Explain laravel echo.
What are the 3 service provider types?
What is dd () in laravel?
What is service providers?
What are the requirements to install valet?
What is Laravel - File Uploading ?
Explain about laravel project?