Laravel Clear Route Cache
To clear the route cache you can make use of the artisan command.
php artisan route:clear
Running Route Clear Programmatically in Laravel
To call this route clear you can programmatically call the artisan command from your code.
How to Cache Laravel Route?
To cache Laravel route you can make use of the "route:cache" command.
php artisan route:cache