Looking to hire Laravel developers? Try LaraJobs

laravel-file-cleanup maintained by edofre

Description
Console command to cleanup your old files in storage
Author
Last update
2020/09/03 22:36 (dev-master)
License
Downloads
4

Comments
comments powered by Disqus

Laravel File Cleanup

Installation

The preferred way to install this extension is through composer.

To install, either run

$ php composer.phar require edofre/laravel-file-cleanup

or add

"edofre/laravel-file-cleanup": "V1.0.0"

to the require section of your composer.json file.

Example command

The following command will remove files older than {days} in the specified {directory} from your {disk}

php artisan db:file-cleanup {directory} {days=14} {disk=local}

Feature requests

  • Tests