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

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

netsells/logger-php
===================

Log formatter for Netsells logging

1.2.0(5y ago)141.2kMITPHP

Since Mar 29Pushed 3y ago5 watchersCompare

[ Source](https://github.com/netsells/netsells-logger-php)[ Packagist](https://packagist.org/packages/netsells/logger-php)[ RSS](/packages/netsells-logger-php/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (3)Dependencies (2)Versions (6)Used By (0)

Netsells Logger - PHP
=====================

[](#netsells-logger---php)

A log formatter for use with PHP.

At the moment, this only comes with Laravel support. It also adds a request\_id to the container to allow for request tagging.

Installation and Setup
----------------------

[](#installation-and-setup)

```
composer require netsells/logger-php
```

Add the following channel to your `config/logging.php` file. Ensure that you set the project value. Note that you can also set the component and subComponent for more distributed web apps.

```
'daily_json' => [
    'driver' => 'daily',
    'path' => env('LOG_PATH', storage_path('logs/laravel-json.log')),
    'formatter' => Netsells\Logger\LaravelLogger::class,
    'formatter_with' => [
        'project' => 'project-name',
        // optional - 'component' => 'core',
        // optional - 'subComponent' => 'php',
        // optional - 'environment' => env('APP_ENV'),
    ],
    'level' => env('LOG_LEVEL', 'debug'),
    'days' => 14,
],
```

When you are ready to use the new format, either set your `LOG_CHANNEL` to `daily_json` or add `daily_json` to your stack channels to benefit from multiple channels.

TODO
----

[](#todo)

- Add tests
- Add setup examples for monolog

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 82.4% 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 ~58 days

Total

4

Last Release

2064d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8fd3cc944adfb60bb9f271b2ebcf1dde1c26380682db0ba28e029cc42e09cebf?d=identicon)[spamoom](/maintainers/spamoom)

---

Top Contributors

[![spamoom](https://avatars.githubusercontent.com/u/99203?v=4)](https://github.com/spamoom "spamoom (14 commits)")[![AdamHutchison](https://avatars.githubusercontent.com/u/26207661?v=4)](https://github.com/AdamHutchison "AdamHutchison (2 commits)")[![jawur](https://avatars.githubusercontent.com/u/54275259?v=4)](https://github.com/jawur "jawur (1 commits)")

### Embed Badge

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

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

###  Alternatives

[illuminate/log

The Illuminate Log package.

6224.3M518](/packages/illuminate-log)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2222.9M248](/packages/open-telemetry-sdk)[nekonomokochan/php-json-logger

LoggingLibrary for PHP. Output by JSON Format

1016.4k](/packages/nekonomokochan-php-json-logger)

PHPackages © 2026

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