onedesign / airbrake-craft
Logs Craft 3 server-side errors to airbrake.io.
Installs: 670
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 14
Forks: 0
Open Issues: 0
Type:craft-plugin
Requires
- airbrake/phpbrake: ^0.8.0
- craftcms/cms: ^3.0.0
This package is auto-updated.
Last update: 2025-03-29 00:57:57 UTC
README
Logs Craft 3 server-side errors to airbrake.io.
Requirements
This plugin requires Craft CMS 3.0.0 or later and an account on airbrake.io.
Installation
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.
airbrake Overview
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.
Configuring airbrake
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
Using airbrake
Install the plugin and make sure your environment variables are configured properly. That's it.
- Release it
Brought to you by One Design Company