roketin/immune

package to report exceptions for lumen framework by Roketin

v0.0.3 2018-10-04 09:21 UTC

This package is not auto-updated.

Last update: 2024-04-27 06:40:33 UTC


README

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!