jericopulvera's avatar

is it possible for guest users to view the available routes of a website?

so I created a custom route for my cron jobs is it possible for other clients to view my website routes?

Route::get('/cron/zrsx2xmqu9j1ex1klax2x', 'CronJobsController@run');
0 likes
3 replies
kevuno's avatar

If they are developers they can use artisan. Just type:

php artisan route:list

It is really useful when you have resource routes instead of specific gets and posts routes.

Yugi's avatar

There's also a package out there that you can install called laravel-link-checker, which can check all links in a Laravel app, you can find it on github if that's what you're looking for, either that or as mentioned you can use php artisan route:list

Please or to participate in this conversation.