PHPackages                             pearl/lumen-log-rotate - 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. pearl/lumen-log-rotate

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

pearl/lumen-log-rotate
======================

Rotating log file in the Lumen framework

1.0(8y ago)0143MITPHPPHP &gt;=5.6.4

Since Mar 19Pushed 8y agoCompare

[ Source](https://github.com/pearlkrishn/lumen-log-rotate)[ Packagist](https://packagist.org/packages/pearl/lumen-log-rotate)[ RSS](/packages/pearl-lumen-log-rotate/feed)WikiDiscussions master Synced 2mo ago

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

Rotating log file in the Lumen framework.
=========================================

[](#rotating-log-file-in-the-lumen-framework)

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

[](#installation)

`composer require pearl/lumen-log-rotate`

To add the log rotation functionality we will use a custom service provider to configure the log instance and specify the number of log files we should be keeping.

- Add the service provider in bootstrap/app.php

`$app->register(Pearl\LumenLogRotate\LogRotateServiceProvider::class);`

Custom Options:
---------------

[](#custom-options)

- To specify the number of log files we should be keeping. Default value is 5.

    LOG\_MAXFILE=3
- To Specify the log file path. Default log path is storage/logs/lumen.log

    LOG\_PATH=/path/log.log

    All the custom configuration should be add in .env file.

Logs folder view :
------------------

[](#logs-folder-view-)

```
lumen-2018-03-19.log
lumen-2018-03-20.log
lumen-2018-03-21.log
lumen-2018-03-22.log
lumen-2018-03-23.log

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2976d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/112170779b0833dbfc97e502ee21f0f5cacc68b563949394e5a86d5b6edb067e?d=identicon)[pearlkrishn](/maintainers/pearlkrishn)

---

Top Contributors

[![pearlkrishn](https://avatars.githubusercontent.com/u/36487091?v=4)](https://github.com/pearlkrishn "pearlkrishn (3 commits)")

---

Tags

logrotatelumen-frameworklog rotating

### Embed Badge

![Health badge](/badges/pearl-lumen-log-rotate/health.svg)

```
[![Health](https://phpackages.com/badges/pearl-lumen-log-rotate/health.svg)](https://phpackages.com/packages/pearl-lumen-log-rotate)
```

###  Alternatives

[symfony/monolog-bundle

Symfony MonologBundle

2.9k249.1M1.6k](/packages/symfony-monolog-bundle)[inpsyde/wonolog

Monolog-based logging package for WordPress.

183617.9k7](/packages/inpsyde-wonolog)[amphp/log

Non-blocking logging for PHP based on Amp, Revolt, and Monolog.

402.6M70](/packages/amphp-log)[ytake/laravel-fluent-logger

fluent logger for laravel and lumen

63541.6k1](/packages/ytake-laravel-fluent-logger)[logtail/monolog-logtail

Logtail handler for Monolog

233.2M3](/packages/logtail-monolog-logtail)[inpsyde/logzio-monolog

Logz.io integration for Monolog

191.2M1](/packages/inpsyde-logzio-monolog)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
