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
How to Create Creating a Cookie in Laravel ?
Difference between Authentication and Authorization ?
What is url in laravel?
Explain homestead in laravel.
Is laravel spark free?
How can we create a record in laravel using eloquent?
How to distroy cookies in laravel?
How can we check the logged-in user info in laravel?
Define composer.
How to enable multiple php versions in homestead?
How to configure cron jobs in homestead?
What is laravel contract?
What is singleton design pattern in laravel?
How to share data with views?
How to use updateorinsert() method in laravel query?