yii2-extension yii2-rollbar-js
Integration Rollbar notifier for JavaScript
ezoterik/yii2-rollbar-js
Integration Rollbar notifier for JavaScript
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 0 % Grown
Rollbar notifier for JavaScript
This extension is the way to integrate Rollbar notifier for JavaScript with your Yii2 application., (*1)
Installation
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist ezoterik/yii2-rollbar-js "~1.1.0"
or add, (*4)
"ezoterik/yii2-rollbar-js": "~1.1.0"
to the require section of your composer.json
file., (*5)
Usage
-
Add the component configuration in your web config file:, (*6)
'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), (*7)
-
Add the param in your params config file:, (*8)
'rollbar' => [
'postClientItemAccessToken' => 'POST_CLIENT_ITEM_ACCESS_TOKEN',
],
-
Add the bootstrap class in your web config file:, (*9)
'bootstrap' => ['ezoterik\rollbarJs\Bootstrap'],
dev-master
9999999-dev
Integration Rollbar notifier for JavaScript
Sources
Download
MIT
The Requires
debug
extension
yii2
exception
js
error
monitoring
rollbar
1.1.0
1.1.0.0
Integration Rollbar notifier for JavaScript
Sources
Download
MIT
The Requires
debug
extension
yii2
exception
js
error
monitoring
rollbar
1.0.0
1.0.0.0
Integration Rollbar notifier for JavaScript
Sources
Download
MIT
The Requires
debug
extension
yii2
exception
js
error
monitoring
rollbar