{"id":86501,"library":"symfony-routing","title":"Symfony Routing","description":"Maps an HTTP request to a set of configuration variables","status":"active","version":"8.1.0","language":"php","source_language":null,"source_url":"https://github.com/symfony/routing","tags":["symfony","routing","http","url-matching"],"install":[{"cmd":"composer require symfony/routing","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Router","correct":"use Symfony\\Component\\Routing\\Router;"}],"quickstart":{"code":"use Symfony\\Component\\Routing\\Router;\nuse Symfony\\Component\\Routing\\RouteCollection;\nuse Symfony\\Component\\Routing\\Route;\n\n$routes = new RouteCollection();\n$routes->add('hello', new Route('/hello/{name}', ['name' => 'World']));\n$router = new Router(new \\Symfony\\Component\\Routing\\Matcher\\UrlMatcher($routes, new \\Symfony\\Component\\Routing\\RequestContext()));\n$parameters = $router->match('/hello/John'); // ['name' => 'John', '_route' => 'hello']","lang":"php","description":"Match a URL path to a route and extract parameters."},"warnings":[],"env_vars":null,"search_vec":"'configur':11 'http':5,15 'map':3 'match':18 'request':6 'rout':2,14 'set':9 'symfoni':1,13 'url':17 'url-match':16 'variabl':12","created_at":"2026-06-19T08:02:46.524751+00:00","updated_at":"2026-06-19T08:02:46.524751+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://symfony.com","github":"https://github.com/symfony/routing","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}