Answers for "laravel How to print route lists in Blade"

0

laravel How to print route lists in Blade

//in your controller you can get the list of routes using Artisan facade.

public function showRoutes($request) {
    $routes = Artisan::call('route:list');
    return view('your_view', compact('routes'));  
}
Posted by: Guest on May-09-2022

Code answers related to "laravel How to print route lists in Blade"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language