PHPackages                             jcergolj/filesystem-disk-cleanup-for-laravel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. jcergolj/filesystem-disk-cleanup-for-laravel

ActiveLibrary[File &amp; Storage](/categories/file-storage)

jcergolj/filesystem-disk-cleanup-for-laravel
============================================

Delete old files on a specific Laravel filesystem disk.

v1.0(2y ago)16MITPHP

Since Jun 1Pushed 2y ago1 watchersCompare

[ Source](https://github.com/jcergolj/filesystem-disk-cleanup-for-laravel)[ Packagist](https://packagist.org/packages/jcergolj/filesystem-disk-cleanup-for-laravel)[ RSS](/packages/jcergolj-filesystem-disk-cleanup-for-laravel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

#### Command, that can be scheduled for deleting files based on filesystem disks older than time specified.

[](#command-that-can-be-scheduled-for-deleting-files-based-on-filesystem-disks-older-than-time-specified)

Installation

```
    composer require jcergolj/filesystem-disk-cleanup-for-laravel
```

Publish config file

```
    php artisan vendor:publish --provider="Jcergolj\FilesystemDiskCleanup\FilesystemDiskCleanupServiceProvider" --tag="config"
```

This is the content of the config/filesystem-disk-cleanup.php config file:

```
// filesystem-disk-cleanup.php
