2017 © Pedro Peláez
 

cakephp-plugin cakephp-bugsnag

Bugsnag log engine for CakePHP.

image

jeffersonsimaogoncalves/cakephp-bugsnag

Bugsnag log engine for CakePHP.

  • Wednesday, July 11, 2018
  • by jeffersonsimaogoncalves
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 12 Versions
  • 0 % Grown

The README.md

Bugsnag Plugin

Build Status codecov.io, (*1)

Provides as custom log engine for Bugsnag., (*2)

Requirements

  • CakePHP 3.x
  • PHP 5.4.16 or greater

Installation

[Using Composer], (*3)

composer require steefaan/cakephp-bugsnag:dev-master

Enable plugin

Load the plugin in your app's config/bootstrap.php file:, (*4)

Plugin::load('Bugsnag');

Configuration

Configure the API-Key for Bugsnag in your app's config/app.php file:, (*5)

'Bugsnag' => [
    'apiKey' => 'YOUR_API_KEY'
]

Usage

Straight forward API usage for Bugsnag and a custom log engine for CakePHP makes it surprisingly easy to implement the plugin to a new or even to an existing project. As usual and described in CakePHP's documentation you can configure the log engine as follows:, (*6)

'Log' => [
    'bugsnag' => [
        'className' => 'Bugsnag\Log\Engine\BugsnagLog',
        'releaseStage' => 'development',
        'filters' => [
            'password'
        ]
        ... more options
    ]
],

For a complete list of all available options, please refer to Bugsnag's documentation. This plugin doesn't know any limitation, you can use all configuration settings which are listed in Bugsnag's documentation. Please keep in mind that you need to remove the set prefix for each Bugsnag option. setFilters becomes filters, setReleaseStage becomes releaseStage and so on., (*7)

If you want to modify the Bugsnag notification before you send it to the their API, you can do this easily with an event listener. You only need to listen to the following event:, (*8)

Log.Bugsnag.beforeNotify

How you can listen to events is detailed described in Cake's documentation. This plugin comes with a ready to use Listener to provide you the best Bugsnag experience. I suggest to load this listener even if you write your own. You can configure the built in listener in your app's config/bootstrap.php as follows:, (*9)

use Bugsnag\Listener\BugsnagListener;

EventManager::instance()->on(new BugsnagListener());

The Versions

11/07 2018

dev-master

9999999-dev http://github.com/steefaan/cakephp-bugsnag

Bugsnag log engine for CakePHP.

  Sources   Download

MIT

The Requires

 

by Stefan Dickmann

cakephp bugsnag

11/07 2018

2.0.2

2.0.2.0 http://github.com/steefaan/cakephp-bugsnag

Bugsnag log engine for CakePHP.

  Sources   Download

MIT

The Requires

 

by Stefan Dickmann

cakephp bugsnag

11/07 2018

2.0.1

2.0.1.0 http://github.com/steefaan/cakephp-bugsnag

Bugsnag log engine for CakePHP.

  Sources   Download

MIT

The Requires

 

by Stefan Dickmann

cakephp bugsnag

05/07 2018

2.0.0

2.0.0.0 http://github.com/steefaan/cakephp-bugsnag

Bugsnag log engine for CakePHP.

  Sources   Download

MIT

The Requires

 

by Stefan Dickmann

cakephp bugsnag

21/11 2017

1.1.x-dev

1.1.9999999.9999999-dev http://github.com/steefaan/cakephp-bugsnag

Bugsnag log engine for CakePHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stefan Dickmann

cakephp bugsnag

21/11 2017

1.1.4

1.1.4.0 http://github.com/steefaan/cakephp-bugsnag

Bugsnag log engine for CakePHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stefan Dickmann

cakephp bugsnag

14/11 2017

1.1.3

1.1.3.0 http://github.com/steefaan/cakephp-bugsnag

Bugsnag log engine for CakePHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stefan Dickmann

cakephp bugsnag

16/10 2017

1.1.2

1.1.2.0 http://github.com/steefaan/cakephp-bugsnag

Bugsnag log engine for CakePHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stefan Dickmann

cakephp bugsnag

20/04 2017

1.1.1

1.1.1.0 http://github.com/steefaan/cakephp-bugsnag

Bugsnag log engine for CakePHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stefan Dickmann

cakephp bugsnag

19/04 2017

1.1.0

1.1.0.0 http://github.com/steefaan/cakephp-bugsnag

Bugsnag log engine for CakePHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stefan Dickmann

cakephp bugsnag

03/01 2017

1.0.x-dev

1.0.9999999.9999999-dev http://github.com/steefaan/cakephp-bugsnag

Bugsnag log engine for CakePHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stefan Dickmann

cakephp bugsnag

03/01 2017

1.0.0

1.0.0.0 http://github.com/steefaan/cakephp-bugsnag

Bugsnag log engine for CakePHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stefan Dickmann

cakephp bugsnag