PHP code example of matriphe / laravel-airbrake-codebase
1. Go to this page and download the library: Download matriphe/laravel-airbrake-codebase 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/ */
matriphe / laravel-airbrake-codebase example snippets
class Handler extends ExceptionHandler
{
/**
* A list of the exception types that should not be reported.
*
* @var array
*/
protected $dontReport = [
HttpException::class,
ModelNotFoundException::class,
YourIgnoredException::class,
];