Logs Craft 3 server-side errors to airbrake.io.
This plugin requires Craft CMS 3.0.0 or later and an account on airbrake.io.
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require onedesign/airbrake-craft
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for airbrake.
This is a simple plugin that will send Craft and php errors to Airbrake. You need to have an airbrake.io account to use this.
Copy the config file from plugins/airbrake/src/config.php
to config/airbrake.php
and then set the following environment variables.
# Airbrake Logging
AIRBRAKE_PROJECT_ID=""
AIRBRAKE_PROJECT_KEY=""
AIRBRAKE_ENABLED=false
Install the plugin and make sure your environment variables are configured properly. That's it.
- Release it
Brought to you by One Design Company