PHPackages                             ezoterik/yii2-rollbar-js - 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. ezoterik/yii2-rollbar-js

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

ezoterik/yii2-rollbar-js
========================

Integration Rollbar notifier for JavaScript

1.1.0(10y ago)0311MITPHP

Since Mar 9Pushed 10y ago1 watchersCompare

[ Source](https://github.com/ezoterik/yii2-rollbar-js)[ Packagist](https://packagist.org/packages/ezoterik/yii2-rollbar-js)[ RSS](/packages/ezoterik-yii2-rollbar-js/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Rollbar notifier for JavaScript
===============================

[](#rollbar-notifier-for-javascript)

This extension is the way to integrate [Rollbar notifier for JavaScript](https://rollbar.com/docs/notifier/rollbar.js) with your Yii2 application.

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist ezoterik/yii2-rollbar-js "~1.1.0"

```

or add

```
"ezoterik/yii2-rollbar-js": "~1.1.0"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

1. Add the component configuration in your *web* config file:

```
'bootstrap' => ['rollbarJs'],
'components' => [
    'rollbarJs' => [
        'class' => 'ezoterik\rollbarJs\Bootstrap',
        'accessToken' => 'POST_CLIENT_ITEM_ACCESS_TOKEN',

        // You can specify client options (see https://rollbar.com/docs/notifier/rollbar.js/configuration):
        // 'clientOptions' => [
        //     'logLevel' => 'error',
        //     'ignoredMessages' => ['Can\'t find Clippy.bmp. The end is nigh.'],
        // ],
    ],
],
```

or (deprecated method)

1. Add the param in your *params* config file:

```
'rollbar' => [
    'postClientItemAccessToken' => 'POST_CLIENT_ITEM_ACCESS_TOKEN',
],
```

1. Add the bootstrap class in your *web* config file:

```
'bootstrap' => ['ezoterik\rollbarJs\Bootstrap'],
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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 ~36 days

Total

2

Last Release

3680d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/63a7179401d7e7ffd480c17674d9bc25a4156c5f31b7f10e7d499bfa7f5d2a81?d=identicon)[ezoterik](/maintainers/ezoterik)

---

Top Contributors

[![ezoterik](https://avatars.githubusercontent.com/u/1498377?v=4)](https://github.com/ezoterik "ezoterik (7 commits)")

---

Tags

monitoringdebugJSexceptionerroryii2extensionrollbar

### Embed Badge

![Health badge](/badges/ezoterik-yii2-rollbar-js/health.svg)

```
[![Health](https://phpackages.com/badges/ezoterik-yii2-rollbar-js/health.svg)](https://phpackages.com/packages/ezoterik-yii2-rollbar-js)
```

###  Alternatives

[baibaratsky/yii2-rollbar

Rollbar for Yii2

35130.5k](/packages/baibaratsky-yii2-rollbar)[jenssegers/rollbar

Rollbar error monitoring integration for Laravel projects

3301.1M2](/packages/jenssegers-rollbar)[bazilio/yii2-newrelic

Newrelic integration for Yii2

23399.4k](/packages/bazilio-yii2-newrelic)

PHPackages © 2026

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