how to find the route by its name in laravel directory code example
Example 1: get all routes laravel
php artisan route:list
Example 2: laravel group routes
Route::group(['prefix' => 'admin'], function () {
Route::get('users', function () {
// Matches The "/admin/users" URL
});
});