Posted inTech Info
How to get a list of registered route paths in Laravel?
Laravel 6, 7 & 8Put it inside routes/web.php Route::get('routes', function () { $routeCollection = Route::getRoutes(); echo "<table style='width:100%'>"; echo "<tr>"; echo "<td width='10%'><h4>HTTP Method</h4></td>"; echo "<td width='10%'><h4>Route</h4></td>"; echo "<td width='10%'><h4>Name</h4></td>"; echo…