spatie/laravel-directory-cleanup
Automatically delete old files from specified directories in Laravel. Configure per-path age limits (in minutes) via a published config file, then run cleanup to keep temp, cache, and upload folders tidy. Supports auto service provider registration in Laravel 5.5+.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| omaralalwi/laravel-trash-cleaner | 0.85 | — | 21 | 21 | 2 | 130 | 1 | 3.2 | 11.6 | MIT | 11 months ago | |
| spatie/laravel-model-cleanup | 0.83 | Deprecated: use Laravel’s built-in Prunable. Spatie’s laravel-model-cleanup deletes unneeded Eloquent records via a cleanUp() configuration per model, and an artisan command to prune records older than a given age or matching custom rules. | 396 | 410 | 43 | 196 | 0 | 5.5 | 1.7 | MIT | 5 years ago | |
| jiordiviera/laravel-log-cleaner | 0.83 | Laravel Log Cleaner helps you purge old Laravel log files automatically. Configure retention rules and schedule cleanup via Artisan/cron to keep storage tidy, prevent large logs, and reduce disk usage with minimal setup. | 7 | 7 | 2 | 372 | 0 | 17.7 | 26.6 | NOASSERTION | 2 months ago | |
| lamoda/cleaner | 0.83 | Lamoda Cleaner is a PHP library for purging old data from various storages, primarily databases. Includes configurable DB cleaners such as a Doctrine DBAL cleaner that runs parameterized cleanup queries to delete outdated records. | 3 | 3 | 0 | 0 | 0 | 0.2 | — | MIT | 4 years ago | |
| vizrex/laravel-cleaner | 0.83 | — | 4 | 4 | 3 | 0 | 0 | 0.1 | — | NOASSERTION | — | |
| sajadsdi/laravel-file-management | 0.83 | — | 3 | 3 | 0 | 0 | 0 | 0.6 | — | — | 2 years ago | |
| adgoal/cleaner-bundle | 0.82 | Symfony bundle integrating lamoda/cleaner. Configure DB and custom storage cleaners via YAML, including transactional mode, parameters, and multi-query setups. Provides a console command to run all cleaners or a selected one (cleaner:clear). | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 6 years ago | |
| bnzo/livewire-tmp-cleanup | 0.82 | Schedules automatic cleanup of Livewire temporary uploads on S3-compatible disks. Adds the livewire-tmp:clean Artisan command to delete files older than a configurable age, with optional dry-run. Auto-scheduled daily, safe for multi-server deployments. | 0 | 0 | 0 | 254 | 0 | 18.9 | 38.6 | MIT | 1 month ago | |
| sajadsdi/laravel-file-management-image | 0.82 | — | 0 | 0 | 0 | 0 | 0 | 1.2 | — | — | 2 years ago | |
| lexik/maintenance-bundle | 0.81 | — | 255 | 268 | 91 | 8K | 12 | 4.4 | 19.5 | MIT | 8 years ago | |
| spatie/laravel-queued-db-cleanup | 0.81 | Safely delete large numbers of Laravel database records by dispatching non-overlapping queued cleanup jobs. Deletes in small chunks to reduce locks and avoid timeouts, automatically re-dispatching until the query’s records are gone. | 80 | 80 | 11 | 11K | 0 | 5.8 | 29.7 | MIT | 1 year ago | |
| ady/maintenance-bundle | 0.81 | Laravel package to manage application maintenance mode with configurable settings, custom views, and request whitelisting. Helps you display branded downtime pages, control access during updates, and toggle maintenance behavior via code or config. | 0 | 1 | — | 2 | — | 0.0 | 6.6 | — | — | |
| spatie/laravel-backup | 0.81 | Back up your Laravel app to any configured filesystem. Creates zip archives of selected files plus database dumps, supports multiple destinations, health monitoring, notifications, and automated cleanup of old backups via simple Artisan commands. | 5,986 | 6,069 | 796 | 793K | 0 | 67.2 | 33.6 | MIT | 2 months ago | |
| kherge/file-manager | 0.81 | Strict file and stream manager for PHP: safe read/write operations with unified APIs for files, in-memory strings, and existing streams. Supports iteration over contents and consistent handling via File, Memory, and Stream managers. | 8 | 8 | 3 | 2K | 1 | 2.8 | 32.5 | NOASSERTION | 8 years ago | |
| dizda/cloud-backup-bundle | 0.81 | — | 196 | 203 | 54 | 81 | 24 | 9.8 | 9.4 | MIT | 9 years ago | |
| dopse7/maintenance-bundle | 0.80 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| expresslanding/laravel-filesystem | 0.80 | Extend Laravel Filesystem with unlimited disks (local, S3, SFTP, FTP). Track disk space usage, manage disk statuses, and select an available drive (e.g., random). Includes migrations and config for MySQL or PostgreSQL setups. | 0 | 0 | 0 | 36 | 0 | 0.9 | 21.7 | MIT | 4 years ago | |
| spatie/temporary-directory | 0.80 | Create, use, and automatically clean up temporary directories in PHP. Spatie TemporaryDirectory makes it easy to generate a temp folder (in your system temp path), build file paths inside it, and delete everything when you’re done. | 0 | 973 | — | 4M | — | 25.9 | 55.2 | — | — | |
| leknoppix/laravel-cloudflare | 0.79 | — | 0 | 0 | 0 | 189 | 0 | 0.3 | 31.5 | MIT | 1 year ago | |
| spatie/laravel-backup-server | 0.79 | Securely store and manage backups from multiple Laravel apps on a dedicated backup server. Built on spatie/laravel-backup, it automatically receives and organizes incoming backups, with setup and docs tailored for Laravel deployments. | 171 | 171 | 16 | 1K | 0 | 28.6 | 14.9 | MIT | 3 weeks ago |
How can I help you explore Laravel packages today?