atijust / laravel-rollbar
Rollbar integration for Laravel
dev-master
2014-06-29 22:22 UTC
Requires
- php: >=5.3.0
- illuminate/support: >=4.1,<4.4
- rollbar/rollbar: 0.9.*
Requires (Dev)
- mockery/mockery: 0.9.*
- orchestra/testbench: >=2.1,<2.4
- phpunit/phpunit: 4.1.*
This package is not auto-updated.
Last update: 2024-11-05 02:21:13 UTC
README
Installation
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',
Usage
// to report exceptions Log::error($exception); // to send log-like messages Log::info('message', ['foo' => 'bar']);