nickurt/zf-bugsnag

此包已被弃用,不再维护。未建议替代包。

ZfBugsnag

1.0.0 2018-02-21 09:03 UTC

This package is not auto-updated.

Last update: 2020-01-24 15:24:42 UTC


README

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.

安装

使用 Composer 安装

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

需求

安装后

在您的 application.config.php (或 modules.config.php) 文件中启用它

<?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

    // ...
];

配置

config/zfbugsnag.local.php 文件复制到您的 config/autoload 文件夹,并更改设置(IsEnabled/ApiKey)