Download the PHP package coreproc/raven-laravel without Composer
On this page you can find all versions of the php package coreproc/raven-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download coreproc/raven-laravel
More information about coreproc/raven-laravel
Files in coreproc/raven-laravel
Package raven-laravel
Short Description A Laravel 5.1 library that easily integrates raven-php to centralize your logs using Sentry
License MIT
Homepage https://github.com/CoreProc/raven-laravel
Informations about the package raven-laravel
Raven for Laravel 5.1
A Laravel 5.1 library that easily integrates raven-php to centralize your logs using Sentry.
Install
Go to the root of your Laravel 5.1 project and run the following command:
Then in your config/app.php
add the RavenServiceProvider
to your providers
array
Back on your terminal, run the following command to publish the sentry.php
config file:
Edit your config/sentry.php
file and enable Sentry logging by setting enabled
to true and plugging in your DSN from your Sentry project.
Configuration
You can configure Raven through the config/sentry.php
config file. All the available options are already in there together with their default values.
You can find more details about the available options in Raven using this link:
https://github.com/getsentry/raven-php#configuration
Testing
To test if your Sentry application is correctly grabbing your logs, simply launch php artisan tinker
and execute a sample log like so:
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Chris Bautista
- Clarke Plumo
- All Contributors
License
The MIT License (MIT). Please see License File for more information.