PHP code example of rigor789 / airbrake-laravel

1. Go to this page and download the library: Download rigor789/airbrake-laravel 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/ */

    

rigor789 / airbrake-laravel example snippets



    ...
    'providers' => [
  
        ...
        'rigor789\AirbrakeLaravel\AirbrakeServiceProvider',
        ...

    ],
    ...
  
 config/app.php 

php artisan vendor:publish --provider="rigor789\AirbrakeLaravel\AirbrakeServiceProvider"