symfony remove cache item + apcu code example
Example 1: composer remove cache
composer clearcache
#You can also use
composer clear-cache
#which is an alias for clearcache.
Example 2: clear cache without using composer in laravel 8
Route::get('/clear-cache', function() {
$exitCode = Artisan::call('cache:clear');
// return what you want
});