| Package Data | |
|---|---|
| Maintainer Username: | davibennun | 
| Maintainer Contact: | davi@andradenunes.org (DaviBenNun) | 
| Package Create Date: | 2013-12-22 | 
| Package Last Update: | 2015-07-08 | 
| Language: | PHP | 
| License: | Unknown | 
| Last Refreshed: | 2025-10-27 03:13:30 | 
| Package Statistics | |
|---|---|
| Total Downloads: | 149,464 | 
| Monthly Downloads: | 6 | 
| Daily Downloads: | 0 | 
| Total Stars: | 6 | 
| Total Watchers: | 1 | 
| Total Forks: | 7 | 
| Total Open Issues: | 5 | 
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'
)
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.
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);
});