Bugsnag integration for the Laminas Framework gives you instant notifications of the errors in your application. You can create a free plan/account on the bugsnag website.
composer require catch-e/laminas-bugsnag
- PHP 8.0+
- Laminas Framework
- Bugsnag PHP API
Enable it in your application.config.php
(or modules.config.php
) file
<?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
// ...
];
Copy the config/laminas-bugsnag.local.php
file to your config/autoload
folder and change the settings (Enabled/ApiKey)