New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

pearl/lumen-log-rotate

Rotating log file in the Lumen framework
144

Larablocks Analysis

pearl/lumen-log-rotate works with any PHP project: the latest release (1.0, Mar 19, 2018) doesn't depend on Laravel.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • No release in the last 12 months (last: Mar 19, 2018)
  • 0 downloads a month (needs 10,000)
  • 0 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Mar 19, 2018.
  • No releases in the last 12 months.
  • First released: Mar 19, 2018.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 28, 2026.

Install
composer require pearl/lumen-log-rotate
Latest Version:1.0
PHP:>=5.6.4
License:MIT
Last Updated:Mar 19, 2018
Links: GitHub  ·  Packagist
Maintainer: pearlkrishn

Rotating log file in the Lumen framework.

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:

  • 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 :

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

Related Packages

sergiq/laravellog

Simple laravel log

11,944 0
coolonce/logger-interface

This package allows you to send data for logging to the HTTP daemon associated w...

4,640 1
imer/laravel-query-table

Laravel plugin for displaying query results as a table with built-in filtering/s...

2,106 0
laravel-dev-common/union-log

Laravel dev log util

28 0
jlxh/laravel-userlog

User log for laravel

19 2

Version History

Version Released PHP License
1.0 >=5.6.4 MIT