composer clearcache
//Then autoload composer
composer dump-autoload
composer clearcache
#You can also use
composer clear-cache
#which is an alias for clearcache.
$ composer clearcache
composer require VENDOR/PACKAGE --no-cache
rm -rf ~/.composer/cache
Route::get('/clear-cache', function() {
$exitCode = Artisan::call('cache:clear');
// return what you want
});
Code Example |
---|
Php :: ubuntu restart php-fpm |
Php :: php show all error |
Php :: php add 0 before number |
Php :: laravel image validation |
Php :: codeigniter email print debugger |
Php :: get current page url in php |
Php :: curl php show error |
Php :: sail alias |
Php :: get session blade |
Php :: laravel success message |
Php :: wp is user admin |
Php :: laravel images mimetypes validatiion |
Php :: php previous site |
Php :: redirect http to https htaccess laravel 8 |
Php :: laravel failed jobs retry |
Php :: magento get admin url |
Php :: laravel generate env |
Php :: laravel run single migration |
Php :: php foreach reverse |
Php :: json from php |
Php :: smarty prestashop get language |
Php :: base64 encode laravel |
Php :: laravel run seed |
Php :: how to traverse characters in a string in a for loop in php |
Php :: if any comma in string in php |
Php :: wordpress custom theme style.css |
Php :: php remove quotes |
Php :: php version change ubuntu |
Php :: php shorthand if isset post |
Php :: page load time in php |