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)012.3k↓32.5%[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 1mo 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 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

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

1179d 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.6k189.7M258](/packages/symfony-monolog-bridge)[rollbar/rollbar

Monitors errors and exceptions and reports them to Rollbar

33723.7M82](/packages/rollbar-rollbar)[illuminate/log

The Illuminate Log package.

6224.3M518](/packages/illuminate-log)[honeybadger-io/honeybadger-php

Honeybadger PHP library

381.5M4](/packages/honeybadger-io-honeybadger-php)[graycore/magento2-stdlogging

A Magento 2 module that changes all logging handlers to stdout

2382.6k](/packages/graycore-magento2-stdlogging)

PHPackages © 2026

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