cesargb/php-log-rotation
A framework-agnostic PHP library for rotating log files by size or time, with automatic gzip/bzip2 compression, retention limits, and cleanup of old logs. Works standalone or with Laravel, PSR-3 loggers, and custom handlers.
Architecture fit
cesargb/php-log-rotation is a framework-agnostic, single-purpose PHP utility for rotating log files. It is not a Laravel package: no service provider, config file, facade, publishable assets, or Laravel-specific logging integration is implied.daily log channel that performs date-based rotation through RotatingFileHandler. For the default storage/logs/laravel.log use case, this package is likely redundant unless the requirement is specifically size-based rotation, custom retention, compression, or rotation of non-standard application log files.Integration feasibility
Technical risk
Key questions
daily channel or Monolog’s RotatingFileHandler?Stack fit
single/daily logging behavior, especially for high-traffic request logs.Migration path
laravel.log first.daily channel: rotation trigger, filename pattern, retention, compression, permissions, and failure handling.Compatibility
zlib or other extensions are required for compression.Sequencing
Maintenance
Support
Scaling
Failure modes
Ramp-up
How can I help you explore Laravel packages today?