PHP code example of fusic / laravel-faultline
1. Go to this page and download the library: Download fusic/laravel-faultline 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/ */
fusic / laravel-faultline example snippets
use LaravelFaultline\Exceptions\Handler\LaravelFaultline;
public function report(Throwable $exception)
{
LaravelFaultline::notify($exception);
parent::report($exception);
}
sh
php artisan vendor:publish