Skip to content

Commit

Permalink
Readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
baibaratsky committed Dec 1, 2015
1 parent db6625e commit 51be906
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ The preferred way to install this extension is through [composer](http://getcomp

To install, either run
```
$ php composer.phar require baibaratsky/yii2-rollbar:1.1.*
$ php composer.phar require baibaratsky/yii2-rollbar:1.2.*
```
or add
```
"baibaratsky/yii2-rollbar": "1.1.*"
"baibaratsky/yii2-rollbar": "1.2.*"
```
to the `require` section of your `composer.json` file.

Expand All @@ -33,6 +33,12 @@ Usage
'rollbar' => [
'class' => 'baibaratsky\yii\rollbar\Rollbar',
'accessToken' => 'POST_SERVER_ITEM_ACCESS_TOKEN',

// You can specify exceptions to be ignored by yii2-rollbar:
// 'ignoreExceptions' => [
// ['yii\web\HttpException', 'statusCode' => [400, 404]],
// ['yii\web\HttpException', 'statusCode' => [403], 'message' => ['This action is forbidden']],
// ],
],
],
```
Expand Down

0 comments on commit 51be906

Please sign in to comment.