LaravelPackages.net
Acme Inc.
Toggle sidebar
toanld/laravel-clear-expired-cache-file

Remove laravel expired cache file/folder

10
0
v1.0.2
About toanld/laravel-clear-expired-cache-file

toanld/laravel-clear-expired-cache-file is a Laravel package for remove laravel expired cache file/folder. It currently has 0 GitHub stars and 10 downloads on Packagist (latest version v1.0.2). Install it with composer require toanld/laravel-clear-expired-cache-file. Discover more Laravel packages by toanld or browse all Laravel packages to compare alternatives.

Last updated

Clear Expired Cache files in Laravel

This package will remove any expired cache file, this only works with file cache driver. It will also remove any empty folder after removing the expired cache files, so your cache folder will be totally clean.

Installation

  1. Add toanld/laravel-clear-expired-cache-file to your project:
composer require toanld/laravel-clear-expired-cache-file
  1. For Laravel >= 5.5 we use Package Auto-Discovery, so you may skip this step. For Laravel < 5.5, add CacheClearServiceProvider to the providers array in config/app.php:
Arifhp86\ClearExpiredCacheFile\Providers\CacheClearServiceProvider::class,

Usage

php artisan cache:clear-expired

MIT, (c) 2019 Arifur Rahman

Comments