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

ActiveLibrary

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 2mo 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 72% 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

1719d ago

Major Versions

0.1.5 → 1.0.02021-08-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/cb0943da8787361378568e3c6a50477317a8bf68d0899504902ed8a6b0989f64?d=identicon)[hawkup](/maintainers/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

[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k4](/packages/elgg-elgg)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[drevops/git-artifact

Package artifact from your codebase in CI and push it to a separate git repo.

2133.2k](/packages/drevops-git-artifact)[doppar/framework

The Doppar Framework

366.7k8](/packages/doppar-framework)

PHPackages © 2026

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