edofre / laravel-file-cleanup
Console command to cleanup your old files in storage
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/edofre/laravel-file-cleanup
Requires
- php: >=7.2
- laravel/framework: 6.*|7.*
Requires (Dev)
- orchestra/testbench: ~3.2.0|~3.3.0
- phpunit/phpunit: ^5.0
This package is auto-updated.
Last update: 2025-09-29 02:29:04 UTC
README
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