2017 © Pedro Peláez
 

library raven-laravel

A Laravel 5.1 library that easily integrates raven-php to centralize your logs using Sentry

image

coreproc/raven-laravel

A Laravel 5.1 library that easily integrates raven-php to centralize your logs using Sentry

  • Friday, October 9, 2015
  • by coreproc
  • Repository
  • 4 Watchers
  • 8 Stars
  • 2,656 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Raven for Laravel 5.1

Latest Version on Packagist ![Software License][ico-license] Total Downloads, (*1)

A Laravel 5.1 library that easily integrates raven-php to centralize your logs using Sentry., (*2)

Install

Go to the root of your Laravel 5.1 project and run the following command:, (*3)

``` bash composer require coreproc/raven-laravel, (*4)


Then in your `config/app.php` add the `RavenServiceProvider` to your `providers` array ```php 'providers' => array( ... Coreproc\RavenLaravel\Providers\RavenServiceProvider::class, ),

Back on your terminal, run the following command to publish the sentry.php config file:, (*5)

``` bash php artisan vendor:publish, (*6)


Edit your `config/sentry.php` file and enable Sentry logging by setting `enabled` to true and plugging in your DSN from your Sentry project. ```php 'enabled' => true, 'dsn' => 'https://***:***@sentry.yourdomain.com/{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., (*7)

You can find more details about the available options in Raven using this link:, (*8)

https://github.com/getsentry/raven-php#configuration, (*9)

Testing

To test if your Sentry application is correctly grabbing your logs, simply launch php artisan tinker and execute a sample log like so:, (*10)

``` bash $ php artisan tinker, (*11)

Log::error("This is a test error. Sentry should get this."); ```, (*12)

Security

If you discover any security related issues, please email chris.bautista@coreproc.ph instead of using the issue tracker., (*13)

Credits

License

The MIT License (MIT). Please see License File for more information., (*14)

The Versions

09/10 2015

dev-master

9999999-dev https://github.com/CoreProc/raven-laravel

A Laravel 5.1 library that easily integrates raven-php to centralize your logs using Sentry

  Sources   Download

MIT

The Requires

 

by Clarke Plumo

laravel logging raven sentry raven-php centralized

09/10 2015

dev-develop

dev-develop https://github.com/CoreProc/raven-laravel

A Laravel 5.1 library that easily integrates raven-php to centralize your logs using Sentry

  Sources   Download

MIT

The Requires

 

by Clarke Plumo

laravel logging raven sentry raven-php centralized

09/10 2015

0.1.0

0.1.0.0 https://github.com/CoreProc/raven-laravel

A Laravel 5.1 library that easily integrates raven-php to centralize your logs using Sentry

  Sources   Download

MIT

The Requires

 

by Clarke Plumo

laravel logging raven sentry raven-php centralized