https://github.com/workingconcept/bugsnag-craft3
Bugsnag exception handler for Craft 3
https://github.com/workingconcept/bugsnag-craft3
craft-plugin craft3 craftcms
Last synced: 3 months ago
JSON representation
Bugsnag exception handler for Craft 3
- Host: GitHub
- URL: https://github.com/workingconcept/bugsnag-craft3
- Owner: workingconcept
- License: mit
- Created: 2017-05-28T22:52:45.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-20T18:43:52.000Z (about 9 years ago)
- Last Synced: 2025-02-13T06:20:03.738Z (over 1 year ago)
- Topics: craft-plugin, craft3, craftcms
- Language: PHP
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# Bugsnag Component for Craft 3
Send Craft exceptions to Bugsnag with this tiny extension to Craft's error handler.
## Installation
1. `composer require workingconcept/bugsnag-craft3 @dev`.
2. In the control panel, visit _Settings_ → _Plugins_, and install Bugsnag.
3. Add the Bugsnag API key for your project in the plugin's settings.
## Customizing Release Stage Notifications
By default, the plugin will report when `CRAFT_ENVIRONMENT` is set to `staging` and `production`. You can override this by supplying your own config/bugsnag.php:
```
return [
'notifyRelease' => ['local', 'staging', 'production']
];
```
## Production Use
Only if you live dangerously. I'm getting my feet wet with Craft 3 and this is my first plugin. This thing will probably need revision before it's safe for your Mars mission. I'll gladly accept issues, pull requests, and [emails](mailto:hello@workingconcept.com) if you've found room for improvement!