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

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

byinti/yii2-newrelic
====================

Newrelic integration for Yii2

1.1(1y ago)017.0k↓49.4%MITPHPPHP &gt;=5.4.0

Since Jan 3Pushed 1y agoCompare

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

READMEChangelog (2)Dependencies (2)Versions (3)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.

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 byinti/yii2-newrelic

```

or

```
composer require --prefer-dist byinti/yii2-newrelic

```

or add

```
"byinti/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' => 'byinti\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
        ]
    ],
];
```

Packagist Repository
--------------------

[](#packagist-repository)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance41

Moderate activity, may be stable

Popularity26

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 55% 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 ~3 days

Total

2

Last Release

497d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/36997238?v=4)[INTI](/maintainers/byinti)[@ByINTI](https://github.com/ByINTI)

---

Top Contributors

[![bazilio91](https://avatars.githubusercontent.com/u/380542?v=4)](https://github.com/bazilio91 "bazilio91 (11 commits)")[![lucianoob](https://avatars.githubusercontent.com/u/6475464?v=4)](https://github.com/lucianoob "lucianoob (6 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/byinti-yii2-newrelic/health.svg)

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

###  Alternatives

[bazilio/yii2-newrelic

Newrelic integration for Yii2

23399.4k](/packages/bazilio-yii2-newrelic)[baibaratsky/yii2-rollbar

Rollbar for Yii2

35130.5k](/packages/baibaratsky-yii2-rollbar)[upscale/swoole-newrelic

New Relic APM monitoring of Swoole web-server

1619.6k](/packages/upscale-swoole-newrelic)

PHPackages © 2026

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