davibennun/laravel-raygun

Laravel wrapper for raygun
149,547 6
Install
composer require davibennun/laravel-raygun
PHP:>=5.3.0
Last Updated:Jul 8, 2015
Links: GitHub  ·  Packagist
Maintainer: davibennun

Installation

Update your composer.json file to include this package as a dependency

Laravel 4

"davibennun/laravel-raygun": "dev-master"

Laravel 5

"davibennun/laravel-raygun": "dev-laravel5"

Register the Raygun service provider by adding it to the providers array.

Davibennun\LaravelRaygun\LaravelRaygunServiceProvider

Alias the Raygun facade by adding it to the aliases array.

'aliases' => array(
	'Raygun' => 'Davibennun\LaravelRaygun\Facades\Raygun'
)

Configuration

Copy the config file into your project by running

Laravel 4

php artisan config:publish davibennun/laravel-raygun

Laravel 5

php artisan vendor:publish --provider="Davibennun\LaravelRaygun\LaravelRaygunServiceProvider" --tag="config"

Edit the config file to include your app ID and secret key.

Usage

This Raygun class extends the Raygun PHP, so all the methods listed here http://github.com/MindscapeHQ/raygun4php are available.

App::error(function(Exception $exception)
{
    Raygun::sendException($exception);
});

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

631,580,251 9,707
laravel/framework

The Laravel Framework.

580,311,802 34,925
laravel/tinker

Powerful REPL for the Laravel framework.

489,754,436 7,444
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

404,034,618 608
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

387,976,821 4,658