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


'providers' => [
    Matriphe\Codebase\CodebaseServiceProvider::class,
],

$app->register(Matriphe\Codebase\CodebaseServiceProvider::class);

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,
    ];

php artisan vendor:publish --provider="Matriphe\Codebase\CodebaseServiceProvider"

cp vendor/matriphe/laravel-airbrake-codebase/config/codebase.php config/