group([ 'prefix' => 'user', 'middleware' => 'user' ], function ($router) { // User $router->get('/resetSecurity', 'V1\\User\\UserController@resetSecurity'); $router->get('/info', 'V1\\User\\UserController@info'); }); } }