Bersihkan cache Laravel
php artisan view:clear
php artisan cache:clear
php artisan route:clear
php artisan config:clear
php artisan optimize
Wicked Wallaby
php artisan view:clear
php artisan cache:clear
php artisan route:clear
php artisan config:clear
php artisan optimize
Route::get('/clear', function () {
\Artisan::call('cache:clear');
\Artisan::call('view:clear');
\Artisan::call('route:clear');
\Artisan::call('clear-compiled');
\Artisan::call('config:cache');
dd("Cache is cleared");
});