PHPackages                             bluebik/logger - 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. bluebik/logger

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

bluebik/logger
==============

Log seperate folder by level build on monolog/monolog

1.0.0(4y ago)11.2k[1 PRs](https://github.com/bluebik/laravel-logger/pulls)MITPHP

Since May 15Pushed 4y ago3 watchersCompare

[ Source](https://github.com/bluebik/laravel-logger)[ Packagist](https://packagist.org/packages/bluebik/logger)[ RSS](/packages/bluebik-logger/feed)WikiDiscussions master Synced 2w ago

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

Laravel Logger
==============

[](#laravel-logger)

**Log seperate folder by level build on monolog/monolog**

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

[](#installation)

```
$ composer require bluebik/logger
```

Usage
-----

[](#usage)

```
use Bluebik\Logger\LoggerFactory;

class Controller extends BaseController
{
    use AuthorizesRequests, DispatchesJobs, ValidatesRequests;

    protected $logger;

    public function __construct()
    {
        $this->logger = LoggerFactory::create('action');
    }

    public function index()
    {
        $this->logger->action(__METHOD__, "start");
        ...
    }
}
```

Components
----------

[](#components)

There are 3 components including

- Bluebik\\Logger\\Commands\\LogBackup - Command for backup and archive log daily
- Bluebik\\Logger\\Middleware\\AccessLogMiddleware - Middleware to handle access log
- Bluebik\\Logger\\Traits\\CommandLogger - Trait for creating logger of command class

### Log Backup Configuration

[](#log-backup-configuration)

Edit in app\\Console\\Kernel.php

```
protected $commands = [
    \Bluebik\Logger\Commands\LogBackup::class,
    ...
];

protected function schedule(Schedule $schedule) {
    $schedule->command('log:backup')->daily();
    ...
}
```

### AccessLogMiddleware Configuration

[](#accesslogmiddleware-configuration)

Edit in app\\Http\\Kernel.php

```
protected $middleware = [
    \Bluebik\Logger\Middleware\AccessLogMiddleware::class,
    ...
];
```

### CommandLogger Usage

[](#commandlogger-usage)

```
use Bluebik\Logger\Traits\CommandLogger;

class CommandClass extends Command {
    use CommandLogger;

    public function handle()
    {
        $this->logger->action(__METHOD__, "start");
        ...
    }
}
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 88.9% 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

Every ~199 days

Recently: every ~272 days

Total

7

Last Release

1770d ago

Major Versions

0.1.5 → 1.0.02021-08-25

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2748846?v=4)[hawkup](/maintainers/hawkup)[@hawkup](https://github.com/hawkup)

---

Top Contributors

[![puthipong-bluebik](https://avatars.githubusercontent.com/u/149649508?v=4)](https://github.com/puthipong-bluebik "puthipong-bluebik (8 commits)")[![hawkup](https://avatars.githubusercontent.com/u/2748846?v=4)](https://github.com/hawkup "hawkup (1 commits)")

### Embed Badge

![Health badge](/badges/bluebik-logger/health.svg)

```
[![Health](https://phpackages.com/badges/bluebik-logger/health.svg)](https://phpackages.com/packages/bluebik-logger)
```

###  Alternatives

[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)[spatie/flare-client-php

Send PHP errors to Flare

177156.9M21](/packages/spatie-flare-client-php)[illuminate/log

The Illuminate Log package.

6225.0M603](/packages/illuminate-log)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[grkamil/laravel-telegram-logging

Send logs to Telegram chat via Telegram bot

161493.0k](/packages/grkamil-laravel-telegram-logging)

PHPackages © 2026

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