Skip to content

davibennun/laravel-raygun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e429540 · Jul 8, 2015

History

4 Commits
Dec 22, 2013
Dec 22, 2013
Dec 22, 2013
Dec 22, 2013
Dec 22, 2013
Jul 8, 2015
Jan 3, 2014
Dec 22, 2013

Repository files navigation

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);
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages