Answers for "clear cache before composer install?"

PHP
1

clear composer cache

composer clearcache
//Then autoload composer
composer dump-autoload
Posted by: Guest on April-22-2020
1

composer remove cache

composer clearcache

#You can also use 

composer clear-cache

#which is an alias for clearcache.
Posted by: Guest on March-19-2021
1

clear cache without using composer in laravel 8

Route::get('/clear-cache', function() {
    $exitCode = Artisan::call('cache:clear');
    // return what you want
});
Posted by: Guest on January-10-2021

Browse Popular Code Answers by Language