Package Data | |
---|---|
Maintainer Username: | atijust |
Maintainer Contact: | tsujita.shou@gmail.com (TSUJITA shou) |
Package Create Date: | 2014-06-14 |
Package Last Update: | 2014-06-29 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-11 15:13:48 |
Package Statistics | |
---|---|
Total Downloads: | 67 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Add atijust/laravel-rollbar
to your composer.json
:
{
"require": {
"atijust/laravel-rollbar": "dev-master"
}
}
Add the service provider in app/config/app.php
:
'Atijust\LaravelRollbar\LaravelRollbarServiceProvider',
Publish the configuration file:
php artisan config:publish atijust/laravel-rollbar
Add your rollbar access token in app/config/packages/atijust/laravel-rollbar/config.php
:
'access_token' => 'your rollbar access token',
// to report exceptions
Log::error($exception);
// to send log-like messages
Log::info('message', ['foo' => 'bar']);