Skip to content

onedesign/airbrake-craft

Repository files navigation

Airbrake plugin for Craft CMS 3.x

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.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require onedesign/airbrake-craft
    
  3. 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

About

An airbrake.io plugin for Craft 3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published