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

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

davillo/laravel-newrelic
========================

New Relic library for the laravel/lumen frameworks

4954PHP

Since Aug 31Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Davillo/laravel-newrelic)[ Packagist](https://packagist.org/packages/davillo/laravel-newrelic)[ RSS](/packages/davillo-laravel-newrelic/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Requirements
------------

[](#requirements)

- PHP &gt;= 7.2
- [Composer](http://getcomposer.org)

Usage
-----

[](#usage)

### Installation

[](#installation)

Run the following command to install the package through Composer:

```
composer require davillo/laravel-newrelic

```

### Bootstrapping

[](#bootstrapping)

This will ensure that exceptions are correctly reported to New Relic. Now, add the middleware too:

```
$app->middleware([
    ...
   Davillo\NewRelic\NewRelicMiddleware::class
]);
```

register the service provider:

```
  $app->register(Davillo\NewRelic\NewRelicServiceProvider::class);
```

### ENV

[](#env)

finally, on the .env of the lumen/laravel app, register two new key-value variables NEWRELIC\_APP\_NAME='The name of the app on new relic dashboard' NEWRELIC\_APP\_LICENSE='new relic dashboard key'

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/80fc2fed45f625c22cc89a5e4c8a55ad46c9847d59e93962d723469b79165256?d=identicon)[davillo](/maintainers/davillo)

### Embed Badge

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

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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