Generate from Url
Hello im looking to create a sitemap with the exist Route, and remove the for example the route that require param, i have this route:
software software/{name} movies movies/{name} apk apk/{name} pc-games
i would like to make all sitemap without the param so:
software movies apk pc-games
it is possible make something like it dynamic, instead of always write a new line ?
i write this code for get all route
` $routeCollection = Route::getRoutes();
foreach ($routeCollection as $value) {
echo $value->uri().'<br>';
}
this code atm is in route for know the "list" `
Thanks for support, and good job