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 today

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 41% 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

3025d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/36487091?v=4)[pearlkrishn](/maintainers/pearlkrishn)[@pearlkrishn](https://github.com/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.9k258.2M1.7k](/packages/symfony-monolog-bundle)[symfony/monolog-bridge

Provides integration for Monolog with various Symfony components

2.6k198.8M328](/packages/symfony-monolog-bridge)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[illuminate/log

The Illuminate Log package.

6225.0M603](/packages/illuminate-log)[mhcg/monolog-wp-cli

Extension for Monolog to support outputting to WP-CLI (The WordPress command line interface) when running wp command lines.

10110.1k1](/packages/mhcg-monolog-wp-cli)[jacklul/monolog-telegram

Monolog handler that sends logs through Telegram bot to any chat in HTML format

2469.4k2](/packages/jacklul-monolog-telegram)

PHPackages © 2026

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