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

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

ss-ipg/laravel-newrelic
=======================

Minimal NewRelic Functionality for Laravel

v2.0(3y ago)0555[1 PRs](https://github.com/ss-ipg/laravel-newrelic/pulls)MITPHPPHP ^8.1

Since Aug 12Pushed 3y ago4 watchersCompare

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

READMEChangelog (1)Dependencies (5)Versions (8)Used By (0)

Minimal Laravel NewRelic Integration
====================================

[](#minimal-laravel-newrelic-integration)

[![Latest Version on Packagist](https://camo.githubusercontent.com/6617fea3eb3d3b5ce7b5043262ced464b82c1fb1f78a8fc2470ce4019e32d41a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73732d6970672f6c61726176656c2d6e657772656c69632e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ss-ipg/laravel-newrelic)[![GitHub Tests Action Status](https://camo.githubusercontent.com/83756a8db76612aa94309f8e8ef79bcae1496d5706d692608b45f099d4191834/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f73732d6970672f6c61726176656c2d6e657772656c69632f706870756e69742e796d6c3f6272616e63683d6d6173746572)](https://github.com/ss-ipg/laravel-newrelic/actions?query=workflow%3Aphpunit+branch%master)

Simple NewRelic integration that names the APP in Newrelic for both CLI and Web requests.
It also includes a helper for the synthetics monitor and a deployment command helper.

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

[](#installation)

You can install the package via composer:

```
composer require ss-ipg/laravel-newrelic
```

You can publish the config file with:

```
php artisan vendor:publish
```

These are the ENV variables you can edit

```
NEWRELIC_APP_NAME=MY.domain.com
NEWRELIC_API_KEY=some-api-key
NEWRELIC_APP_ID=1234567
NEWRELIC_DEFAULT_USER=me@email.com

# Optional
NEWRELIC_ENABLED=true
NEWRELIC_MONITOR_ENABLED=true
NEWRELIC_MONITOR_ENDPOINT="newrelic/ping"
NEWRELIC_MONITOR_RESPONSE=pong
```

Usage
-----

[](#usage)

Out of the box the App will automatically name the APP in NewRelic.

Synthetics Monitor Setup
------------------------

[](#synthetics-monitor-setup)

[NewRelic &gt; Synthetic monitoring](https://one.newrelic.com/synthetics-nerdlets)
Click on the Create Monitor &gt; Availability

Populate the fields:

```
Name: Ping Monitor
Url: https://mydomain.com/newrelic/ping

#Advanced Options
Text validation: pong
```

Deployment Logging
------------------

[](#deployment-logging)

After each deployment you should run the Deployment trigger

Example if you are using Envoyer

```
php artisan newrelic:deploy "{{message}}" --user="{{author}}" --revision="{{sha}}" --changelog="Deployed from: {{branch}}"
```

Testing
-------

[](#testing)

```
composer test
```

Credits
-------

[](#credits)

- [Igor Matkovic](https://github.com/igormatkovic)
- [JackWH/laravel-new-relic](https://github.com/JackWH/laravel-new-relic)

License
-------

[](#license)

The MIT License (MIT)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 57.1% 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 ~45 days

Recently: every ~57 days

Total

6

Last Release

1141d ago

Major Versions

v0.1.3 → v1.0.02023-03-20

v1.0.0 → v2.02023-03-28

PHP version history (2 changes)v0.1.0PHP ^8.0

v1.0.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/225706?v=4)[jmonday](/maintainers/jmonday)[@jmonday](https://github.com/jmonday)

---

Top Contributors

[![igormatkovic](https://avatars.githubusercontent.com/u/2323435?v=4)](https://github.com/igormatkovic "igormatkovic (4 commits)")[![jmonday](https://avatars.githubusercontent.com/u/225706?v=4)](https://github.com/jmonday "jmonday (3 commits)")

---

Tags

laravelnewrelic

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[yadahan/laravel-authentication-log

Laravel Authentication Log provides authentication logger and notification for Laravel.

416632.8k5](/packages/yadahan-laravel-authentication-log)[inspector-apm/inspector-laravel

Code Execution Monitoring, built for developers.

2332.0M2](/packages/inspector-apm-inspector-laravel)[marvinlabs/laravel-discord-logger

Logging to a discord channel in Laravel

2081.1M2](/packages/marvinlabs-laravel-discord-logger)[larabug/larabug

Laravel 6.x/7.x/8.x/9.x/10.x/11.x/12.x/13.x bug notifier

299549.3k1](/packages/larabug-larabug)[jackwh/laravel-new-relic

Monitor your Laravel application performance with New Relic

112827.2k](/packages/jackwh-laravel-new-relic)

PHPackages © 2026

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