cesargb/laravel-logs-rotate
Automatically rotate Laravel log files. This package compresses and archives daily logs, removes old files by age or count, and integrates with the scheduler. Simple config keeps storage tidy without manual cleanup.
min size guard so tiny files aren't needlessly rotated.Executives: A small, low-risk dependency that automates log cleanup for our Laravel services — reducing manual ops toil and storage bloat. The 2.9.0 update adds a sensible guard against rotating trivially small files, cutting noise and unnecessary churn.
Engineering: Adopt via Composer; configure retention (days/count/size) in config/logs-rotate.php. 2.9.0 introduces a minimum file size option (PR #47) so rotation only triggers above a threshold — useful for low-traffic environments and avoiding empty/no-op rotations. No breaking changes in this release; safe minor upgrade from 2.8.x. Recommend pinning and validating config in staging before rollout.
How can I help you explore Laravel packages today?