PHPackages                             teraone/laravel-newrelic-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. teraone/laravel-newrelic-logger

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

teraone/laravel-newrelic-logger
===============================

v10.0.2(3y ago)013.6k↓46.3%[1 issues](https://github.com/teraone/laravel-newrelic-logger/issues)MITPHPPHP ^8.1

Since Feb 24Pushed 3y ago2 watchersCompare

[ Source](https://github.com/teraone/laravel-newrelic-logger)[ Packagist](https://packagist.org/packages/teraone/laravel-newrelic-logger)[ RSS](/packages/teraone-laravel-newrelic-logger/feed)WikiDiscussions master Synced 3d ago

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

Laravel Log Driver for NewRelic Logging
=======================================

[](#laravel-log-driver-for-newrelic-logging)

This Package adds a Log Driver that formats the logs so the new relic infrastructure agent can parse them properly.

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

[](#installation)

You can install the package via composer.

For Laravel 10:

```
composer require teraone/laravel-newrelic-logger:"10.*"
```

For Laravel 9:

```
composer require teraone/laravel-newrelic-logger:"9.*"
```

Usage
-----

[](#usage)

Just add a Log Channel with the driver "newrelic" to the logging.php config file:

```
'newrelic' => [
    'driver' => 'newrelic'
]
```

There you can configure what else should be included in the logs:

```
'newrelic' => [
    'driver' => 'newrelic',

    'additional_info' => [
        'env' => env('APP_ENV'),
        'hostname' => gethostname()
    ]
]
```

Then you can set the log channel in the .env file:

```
LOG_CHANNEL=newrelic
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

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

Every ~0 days

Total

6

Last Release

1227d ago

Major Versions

v9.0 → v10.0.22023-02-24

### Community

Maintainers

![](https://www.gravatar.com/avatar/34bb3ed24e78987d5f89cff121c51fd55070a90f2887eba16583a78cb77acb50?d=identicon)[teraone](/maintainers/teraone)

---

Top Contributors

[![PaulW01](https://avatars.githubusercontent.com/u/109153286?v=4)](https://github.com/PaulW01 "PaulW01 (7 commits)")

### Embed Badge

![Health badge](/badges/teraone-laravel-newrelic-logger/health.svg)

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

###  Alternatives

[symfony/monolog-bridge

Provides integration for Monolog with various Symfony components

2.6k203.8M358](/packages/symfony-monolog-bridge)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[illuminate/log

The Illuminate Log package.

6225.3M626](/packages/illuminate-log)[spatie/flare-client-php

Send PHP errors to Flare

177161.5M23](/packages/spatie-flare-client-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[grkamil/laravel-telegram-logging

Send logs to Telegram chat via Telegram bot

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

PHPackages © 2026

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