artisan command to clear cache of route code example
Example 1: artisan cache clear
//Laravel 7 / 2021-01
php artisan cache:clear
php artisan route:clear
php artisan config:clear
php artisan optimize
Example 2: artisan clear cache
php artisan cache:clear