PHPackages                             sgoettsch/monolog-rotating-file-handler - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. sgoettsch/monolog-rotating-file-handler

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

sgoettsch/monolog-rotating-file-handler
=======================================

Rotating File Handler for Monolog library

3.1.0(5mo ago)328.9k—0%21MITPHPPHP ^8.2

Since Apr 19Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/sgoettsch/monolog-rotating-file-handler)[ Packagist](https://packagist.org/packages/sgoettsch/monolog-rotating-file-handler)[ RSS](/packages/sgoettsch-monolog-rotating-file-handler/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (4)Versions (10)Used By (1)

Rotating File Handler for Monolog
=================================

[](#rotating-file-handler-for-monolog)

Handler for PHP logging library [Monolog](https://github.com/Seldaek/monolog) for rotating files automatically based on a specific size.

Features
--------

[](#features)

- Rotate files based on files size
- Remove files more than the X

Installation
------------

[](#installation)

Install the latest version with [Composer](https://getcomposer.org/)

```
$ composer require sgoettsch/monolog-rotating-file-handler
```

Basic Usage
-----------

[](#basic-usage)

```
