get any route laravel code example
Example 1: get all routes laravel
php artisan route:list
Example 2: laravel get route
Route::get('/user', 'UserController@index');
php artisan route:list
Route::get('/user', 'UserController@index');