'HomeController@index', '/about' => 'AboutController@index', '/contact' => 'ContactController@index' ]; // Initialize the Router Location object $router = new Router\Location(); // Add the routes to the Router Location object foreach ($routes as $url => $controller) { $router->add($url, $controller); } // Match the current URL to a route and call the associated controller method $router->dispatch();In this example, we define three routes for our website (home, about, and contact), and map them to specific controller methods. We then create a new instance of the Router Location class, add the routes to it, and call the `dispatch()` method to match the current URL to a route and call the associated controller method. Overall, the PHP Router Location package/library provides a flexible and powerful way to handle URL routing in your PHP applications.