2017 © Pedro Peláez
 

library laravel-airbrake-codebase

Laravel 5 package for Codebase Exceptions (https://www.codebasehq.com/) handler using Airbrake API

image

matriphe/laravel-airbrake-codebase

Laravel 5 package for Codebase Exceptions (https://www.codebasehq.com/) handler using Airbrake API

  • Saturday, October 14, 2017
  • by matriphe
  • Repository
  • 1 Watchers
  • 0 Stars
  • 127 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 4 Versions
  • 34 % Grown

The README.md

Laravel and Lumen Airbrake Codebase

This is a Laravel 5 and Lumen package for Codebase Exceptions handler using Airbrake PHP package., (*1)

This package will configure an instance of Airbrake\Notifier with an project ID and key from Codebase Exceptions handler., (*2)

Install

Require it via composer., (*3)

composer require matriphe/laravel-airbrake-codebase

Laravel

For Laravel version below 5.4, add package to list of service providers in config/app.php file. No need to add this manually in Laravel 5.5 since it used auto package discovery., (*4)

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

Publish and fill out the config/codebase.php file with your project ID, key, and ignored environments., (*5)

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

Lumen

Register package by adding this line in bootstrap/app.php., (*6)

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

Manually copy the config file to your config path. If config path doesn't exists, make it first., (*7)

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

Ignoring Exceptions

To ignore some exceptions sent to Codebase Exceptions, just add the ignored exceptions in app/Exceptions/Handler.php in $dontReport section of your application., (*8)

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

The Versions

14/10 2017

dev-master

9999999-dev

Laravel 5 package for Codebase Exceptions (https://www.codebasehq.com/) handler using Airbrake API

  Sources   Download

MIT

The Requires

 

laravel log airbrake error exceptions report bug codebase

14/10 2017

1.2

1.2.0.0

Laravel 5 package for Codebase Exceptions (https://www.codebasehq.com/) handler using Airbrake API

  Sources   Download

MIT

The Requires

 

laravel log airbrake error exceptions report bug codebase

25/06 2017

1.1

1.1.0.0

Laravel 5 package for Codebase Exceptions (https://www.codebasehq.com/) handler using Airbrake API

  Sources   Download

MIT

The Requires

 

laravel log airbrake error exceptions report bug codebase

24/06 2017

1.0

1.0.0.0

Laravel 5 package for Codebase Exceptions (https://www.codebasehq.com/) handler using Airbrake API

  Sources   Download

MIT

The Requires

 

laravel log airbrake error exceptions report bug codebase