1php artisan cache:clear
2php artisan route:clear
3php artisan config:clear
4php artisan view:clear
1//laravel artisan clear cache
2php artisan view:clear
3php artisan cache:clear
4php artisan route:clear
5php artisan config:clear
1Cache::put('key', 'value', $seconds);
2Cache::rememberForever('users', function () {
3 return DB::table('users')->get();
4});
5Cache::get('key');
6Cache::has('key');
7Cache::pull('key');
1
2Fatal error: Uncaught Error: Class 'Illuminate\Foundation\Application' not found in C:\xampp\htdocs\project\datatable\Laravel-Datatables-Demo\bootstrap\app.php:14
3Stack trace:
4#0 C:\xampp\htdocs\project\datatable\Laravel-Datatables-Demo\artisan(20): require_once()
5#1 {main}
6 thrown in C:\xampp\htdocs\project\datatable\Laravel-Datatables-Demo\bootstrap\app.php on line 14