2017 © Pedro Peláez
 

library laravel-cache-garbage-collector

A script that will clean up expired cache files if the system is using the files cache system

image

jdavidbakr/laravel-cache-garbage-collector

A script that will clean up expired cache files if the system is using the files cache system

  • Wednesday, June 29, 2016
  • by jdavidbakr
  • Repository
  • 2 Watchers
  • 12 Stars
  • 7,447 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 3 Versions
  • 7 % Grown

The README.md

LaravelCacheGarbageCollector

Latest Version on Packagist ![Software License][ico-license] ![Total Downloads][ico-downloads] Travis CI, (*1)

When using the file cache driver, Laravel creates the cache files but never purges expired ones. This can lead to a situation where you have a large number of unused and irrelevant cache files, especially if you do a lot of short-term caching in your system., (*2)

This package creates an artisan command cache:gc that will garbage-collect your cache files, removing any that have expired. You may run this manually or include it in a schedule., (*3)

Thanks to TerrePorter for his suggestion on laravel.io!, (*4)

Install

Via Composer, (*5)

$ composer require jdavidbakr/laravel-cache-garbage-collector

Then add the service provider to app/Console/Kernel.php in the \$commands array:, (*6)

\jdavidbakr\LaravelCacheGarbageCollector\LaravelCacheGarbageCollector::class

Usage

$ php artisan cache:gc

Contributing

Please see CONTRIBUTING and CONDUCT for details., (*7)

Security

If you discover any security related issues, please email me@jdavidbaker.com instead of using the issue tracker., (*8)

Credits

License

The MIT License (MIT). Please see License File for more information., (*9)

The Versions

29/06 2016

dev-master

9999999-dev https://github.com/jdavidbakr/LaravelCacheGarbageCollector

A script that will clean up expired cache files if the system is using the files cache system

  Sources   Download

MIT

The Requires

 

The Development Requires

jdavidbakr laravelcachegarbagecollector

29/06 2016

1.0.1

1.0.1.0 https://github.com/jdavidbakr/LaravelCacheGarbageCollector

A script that will clean up expired cache files if the system is using the files cache system

  Sources   Download

MIT

The Requires

 

The Development Requires

jdavidbakr laravelcachegarbagecollector

29/01 2016

1.0

1.0.0.0 https://github.com/jdavidbakr/LaravelCacheGarbageCollector

A script that will clean up expired cache files if the system is using the files cache system

  Sources   Download

MIT

The Requires

 

The Development Requires

jdavidbakr laravelcachegarbagecollector