Documentation

Laravel 5 with Raygun4PHP

Documentation - Laravel 5 with Raygun4PHP

Step by Step Instructions

Step One: Install laravel-raygun wrapper with Composer

Install the Raygun4PHP provider along side the laravel-raygun wrappers by using Composer. Installation instructions can be found at https://github.com/davibennun/laravel-raygun.

Step Two: Add Raygun into your ExceptionHandler report method

Open the file `app\Exceptions\Handler.php` and add the following line before the class declaration.

use Raygun;

Step Three: Sending All Exceptions

Inside `app\Exceptions\Handler.php` add following line into the `report` method.

public function report(Exception $e)
{
  // Send all exceptions:
  Raygun::SendException($e);

  parent::report($e);
}

Documentation missing?

If we don't have documentation about your desired topic, send us a message and we'll create it for you.