script for php artisan clear all caches code example
Example 1: clear all laravel cache
php artisan route:clear &&
php artisan view:clear &&
php artisan config:clear &&
php artisan cache:clear &&
php artisan clear-compiled
Example 2: php cache clear in laravel
Fatal error: Uncaught Error: Class 'Illuminate\Foundation\Application' not found in C:\xampp\htdocs\project\datatable\Laravel-Datatables-Demo\bootstrap\app.php:14
Stack trace:
thrown in C:\xampp\htdocs\project\datatable\Laravel-Datatables-Demo\bootstrap\app.php on line 14