You can get all routes with
$routes = Route::getRoutes();
And then you can just loop through them. If that is sufficient?
thanks alot, that definitely helped, it put me in the right direction... to loop through the routes i called the getPath() function and just prepended the base url, something like this
$routes = Route::getRoutes();
foreach($routes as $route)
{
echo($base_url.$route->getPath());
}
Instead of $base_url, you could probably better do URL::to($route->getPath());
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community