Skip to content

roketin/immune

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Roketin Immune

Issues Forks Stars

package to report exceptions for lumen framework by Roketin

1. Installation

Open your command console and type just like install another package in laravel.

composer require roketin/immune

After installation done then you

php artisan immune-key:generate

Copy key to .env file on your project and make configuration like this

APP_URL=http://yourwebsite.com
IMMUNE_API=http://immune.roketin.com
IMMUNE_KEY=YOUR_KEY

then you go to file app.php on directory bootstrap/app.php you should copy this on register section

$app->register(Roketin\Immune\ReportExceptionsServiceProvider::class);

2. Usage

On your handler app\Exceptions\Handler.php

use Laravel\Lumen\Exceptions\Handler as ExceptionHandler;

Change to

use Roketin\Immune\Exceptions\ReportHandler as ExceptionHandler;

Happy Develop!