2017 © Pedro Peláez
 

yii-extension yii-airbrake

Sends errors and exceptions in yii to an Airbrake server

image

bogsey/yii-airbrake

Sends errors and exceptions in yii to an Airbrake server

  • Monday, September 30, 2013
  • by bogsey
  • Repository
  • 0 Watchers
  • 1 Stars
  • 774 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

yii-airbrake

Allows errors and exceptions in yii to be sent to an airbrake server., (*1)

Usage

yii-airbrake is installed by adding Bogsey/yii-airbrake to the "require" section of your composer.json file and running composer update. This will install both the component and also the php-airbrake library., (*2)

Next update your config file as follows:, (*3)

return array(
  ...
  'aliases' => array(
    ...
    'Airbrake' => 'route to php-airbrake.src.Airbrake', // This is needed for the namespacing to work
    ...
  ),
  ...
  'components' => array(
    ...
    'errorHandler' => array(
      'class' => 'Route to MErrorHandler', // where composer puts your required file (eg. vendor)
      'errorAction' => 'site/error',
      'APIKey' => 'YOUR API KEY',
      'options' => array( // configuration options
          'host' => 'Airbrake Host Server',
      ),
      ...
  ),

You should then see your exceptions and errors appearing on your Airbrake server, (*4)

The Versions

30/09 2013

dev-master

9999999-dev

Sends errors and exceptions in yii to an Airbrake server

  Sources   Download

BSD-3-Clause

The Requires

 

by Mark Joyner

yii airbrake