Skip to content

Commit 8adb3bf

Browse files
authored
Update README.md
1 parent 4f66ccb commit 8adb3bf

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Build Status](https://travis-ci.org/OxCom/symfony-rollbar-bundle.svg?branch=master)](https://travis-ci.org/OxCom/symfony-rollbar-bundle)
66
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)
77

8-
Bundle for Symfony Framework (v2.8.x, 3.x, 4.x) that integrates Rollbar tracker
8+
Bundle for Symfony Framework (2.8.x, 3.x, 4.x) that integrates Rollbar tracker
99

1010
More documentation here [here](https://github.com/OxCom/symfony-rollbar-bundle/tree/master/Resources/doc)
1111

@@ -25,6 +25,18 @@ More documentation here [here](https://github.com/OxCom/symfony-rollbar-bundle/t
2525
rollbar_js:
2626
access_token: 'some-public-token-here'
2727
```
28+
3. Load bundle for 4.x:
29+
```php
30+
\SymfonyRollbarBundle\SymfonyRollbarBundle::class => ['all' => true]
31+
```
32+
or for 2.8.x and 3.x
33+
```php
34+
$bundles = [
35+
// ...
36+
new \SymfonyRollbarBundle\SymfonyRollbarBundle(),
37+
// ...
38+
];
39+
```
2840

2941
# Bugs and Issues
3042
Please, if You found a bug or something, that is not working properly, contact me and tell what's wrong.

0 commit comments

Comments
 (0)