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
What is laravel vue?
Tell me why laravel over other php frameworks?
What is a Views ?
What are the databases laravel supports?
What is route model binding?
What is the difference between contracts vs facades?
What is system requirement for installation of laravel 5.2 (latest version)?
Explain the service container?
Tell us can laravel be hacked?
What is backend framework?
Explain how to upgrade valet to valet 2.0?
What is laravel 5?
How to share your homestead with others.
What are contracts?
List the requirements to install valet?