catch-e/laminas-bugsnag

Laminas PHP框架的Bugsnag通知器

1.0.1 2022-08-25 06:27 UTC

This package is auto-updated.

Last update: 2024-09-25 10:43:07 UTC


README

什么是Bugsnag?

Bugsnag为Laminas框架提供应用错误即时通知。您可以在bugsnag网站上创建免费计划/账户。

安装

使用Composer安装

composer require catch-e/laminas-bugsnag

要求

安装后

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

<?php

// application.config.php
return [
    'modules' => [
        'CatchE\Laminas\Bugsnag', // Must be added as the first module
        // ...
    ],
    // ...
];

// modules.config.php
return [
    'CatchE\Laminas\Bugsnag', // Must be added as the first module

    // ...
];

配置

config/laminas-bugsnag.local.php文件复制到您的config/autoload文件夹,并更改设置(启用/Api密钥)