PHPackages                             bazilio/yii2-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. bazilio/yii2-newrelic

ActiveYii2-extension[Logging &amp; Monitoring](/categories/logging)

bazilio/yii2-newrelic
=====================

Newrelic integration for Yii2

1.0.1(5y ago)23400.2k↓84%12[1 issues](https://github.com/bazilio91/yii2-newrelic/issues)[1 PRs](https://github.com/bazilio91/yii2-newrelic/pulls)MITPHPPHP &gt;=5.4.0

Since May 10Pushed 5y ago6 watchersCompare

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

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

Newrelic instrumentation for Yii 2
==================================

[](#newrelic-instrumentation-for-yii-2)

This extension describes routes, action params and instruments views with newrelic end user monitoring scripts. Supports console and web applications.

[![Latest Stable Version](https://camo.githubusercontent.com/b407bd43967885abd4b2af8769917a46d7dd4c0c6ca20769e9f7c54e4bd11257/68747470733a2f2f706f7365722e707567782e6f72672f62617a696c696f2f796969322d6e657772656c69632f762f737461626c65)](https://packagist.org/packages/bazilio/yii2-newrelic)[![Total Downloads](https://camo.githubusercontent.com/4bbe4e29ddae5f9fe83fd15845d6756a54a2bc19028dba46440aa41c6cd068a0/68747470733a2f2f706f7365722e707567782e6f72672f62617a696c696f2f796969322d6e657772656c69632f646f776e6c6f616473)](https://packagist.org/packages/bazilio/yii2-newrelic)[![Latest Unstable Version](https://camo.githubusercontent.com/f4fed5949627b0c9ce6ce262fd51937c0b1545de3c85cf568a9497ca3dbf863f/68747470733a2f2f706f7365722e707567782e6f72672f62617a696c696f2f796969322d6e657772656c69632f762f756e737461626c65)](https://packagist.org/packages/bazilio/yii2-newrelic)[![License](https://camo.githubusercontent.com/f6e5384f412521a00fec173875e578a0202340e9a5d704aa2ecc11c1a26cc1ef/68747470733a2f2f706f7365722e707567782e6f72672f62617a696c696f2f796969322d6e657772656c69632f6c6963656e7365)](https://packagist.org/packages/bazilio/yii2-newrelic)

For license information check the [LICENSE](LICENSE)-file.

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

[](#requirements)

Works with newrelic agent with version &gt;=3.0

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist bazilio/yii2-newrelic

```

or add

```
"bazilio/yii2-newrelic": "^1.0"
```

to the require section of your composer.json.

Configuration
-------------

[](#configuration)

To use this extension, you have to configure your components &amp; bootstrap section your application configuration:

```
return [
    'bootstrap' => ['newrelic'],
    'components' => [
        // ...
        'newrelic' => [
            'enableEndUser' => true, // MIND THIS! It is JS instrumentation for end user. Default is true.
            'class' => 'bazilio\yii\newrelic\Newrelic',
            'name' => 'My App Frontend', // optional, uses Yii::$app->name by default
            'handler' => 'class/name', // optional, your custom handler
            'licence' => '...', // optional
            'enabled' => false // optional, default = true
        ]
    ],
];
```

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity42

Moderate usage in the ecosystem

Community18

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 78.6% 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 ~222 days

Recently: every ~475 days

Total

10

Last Release

2069d ago

Major Versions

0.0.7 → 1.0.02020-04-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/296aeff8442778437ea316ca1bd2fb30f87292ba6bfb3d897f292474e2c1075f?d=identicon)[bazilio91](/maintainers/bazilio91)

---

Top Contributors

[![bazilio91](https://avatars.githubusercontent.com/u/380542?v=4)](https://github.com/bazilio91 "bazilio91 (11 commits)")[![jimmlog](https://avatars.githubusercontent.com/u/15608782?v=4)](https://github.com/jimmlog "jimmlog (1 commits)")[![kirsenn](https://avatars.githubusercontent.com/u/3411632?v=4)](https://github.com/kirsenn "kirsenn (1 commits)")[![sheershoff](https://avatars.githubusercontent.com/u/1510318?v=4)](https://github.com/sheershoff "sheershoff (1 commits)")

---

Tags

monitoringdebugyii2newrelic

### Embed Badge

![Health badge](/badges/bazilio-yii2-newrelic/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[baibaratsky/yii2-rollbar

Rollbar for Yii2

36133.0k](/packages/baibaratsky-yii2-rollbar)[lav45/yii2-activity-logger

Tools to store user activity log for Yii2

3460.8k](/packages/lav45-yii2-activity-logger)

PHPackages © 2026

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