get('/', function () { return redirect()->to('https://demo.phpldapadmin.org'); }); $router->post('[{version}]', ['as' => 'version', 'uses' => 'VersionController@main']);