/zf-bugsnag

Bugsnag Notifier for Zend Framework 2.3 and 3.0

Primary LanguagePHP

Bugsnag Notifier for Zend Framework 2.3 and 3.0

Bugsnag?

The Bugsnag Notifier for Zend Framework 2.3 and 3.0 gives you instant notifications of the errors in your application. You can create a free plan/account on the bugsnag website.

Install

Installation with the composer

php composer.phar require nickurt/zf-bugsnag:1.*

Requirements

Post Installation

Enable it in your application.config.php (or modules.config.php) file

<?php

// application.config.php
return array(
    'modules' => array(
        'ZfBugsnag', // Must be added as the first module
        // ...
    ),
    // ...
);

// modules.config.php
return [
    'ZfBugsnag', // Must be added as the first module

    // ...
];

Configuration

Copy the config/zfbugsnag.local.php file to your config/autoload folder and change the settings (IsEnabled/ApiKey)