Clear all Laravel Caches with a Single Line

We can easily clear all Laravel caches with a single line.

Instead of runnig these separete commands:

php artisan cache:clear
php artisan route:clear
php artisan config:clear

We can do same thing by running this simple command:

php artisan optimize:clear

Software Engineer | Ethical Hacker & Cybersecurity...

Md Obydullah is a software engineer and full stack developer specialist at Laravel, Django, Vue.js, Node.js, Android, Linux Server, and Ethichal Hacking.