atijust / laravel-rollbar by atijust

Rollbar integration for Laravel
67
0
1
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-04-23 03:03:45
Package Statistics
Total Downloads: 67
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

Rollbar integration for Laravel

Build Status Coverage Status Latest Stable Version Latest Unstable Version License Dependency Status

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']);