You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,12 @@ Install using composer:
16
16
composer require rollbar/rollbar-laravel
17
17
```
18
18
19
+
Add Project Access Token `post_server_item` from Rollbar.com -> Settings -> Project Access Tokens to .env:
20
+
21
+
```
22
+
ROLLBAR_TOKEN=[your Rollbar project access token]
23
+
```
24
+
19
25
Add the service provider to the `'providers'` array in `config/app.php`:
20
26
21
27
```php
@@ -33,6 +39,8 @@ if ($this->app->environment('production')) {
33
39
Configuration
34
40
-------------
35
41
42
+
Setting up `ROLLBAR_TOKEN` in .env should be enough for basic configuration.
43
+
36
44
This package supports configuration through the services configuration file located in `config/services.php`. All configuration variables will be directly passed to Rollbar:
0 commit comments