Skip to content

Commit eb0d98f

Browse files
github-19: update readme
1 parent 3d3bbca commit eb0d98f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ Install using composer:
1616
composer require rollbar/rollbar-laravel
1717
```
1818

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+
1925
Add the service provider to the `'providers'` array in `config/app.php`:
2026

2127
```php
@@ -33,6 +39,8 @@ if ($this->app->environment('production')) {
3339
Configuration
3440
-------------
3541

42+
Setting up `ROLLBAR_TOKEN` in .env should be enough for basic configuration.
43+
3644
This package supports configuration through the services configuration file located in `config/services.php`. All configuration variables will be directly passed to Rollbar:
3745

3846
```php

0 commit comments

Comments
 (0)