PHP code example of flyingluscas / bug-notifier

1. Go to this page and download the library: Download flyingluscas/bug-notifier library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

flyingluscas / bug-notifier example snippets

 php
'providers' => [
    // ...
    FlyingLuscas\BugNotifier\BugNotifierServiceProvider::class,
],
 bash
$ php artisan vendor:publish --provider="FlyingLuscas\BugNotifier\BugNotifierServiceProvider"
 php
use FlyingLuscas\BugNotifier\Facades\Notify;

// ...

public function report(Exception $exception)
{
    parent::report($exception);

    Notify::exception($exception);
}