WP Manifestindependent plugin directory
manifest / developer / simple-wp-rollbar

Simple WP Rollbar

Simple WordPress implementation of the Rollbar PHP and BrowserJS logging services.

by SystemSeed · github.com/systemseed/simple-wp-rollbar · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/systemseed/simple-wp-rollbar/archive/refs/heads/main.zip

Implements the Rollbar PHP and BrowserJS logging services.

Description

Implements the Rollbar PHP and BrowserJS logging services so that you can track PHP and Javascript errors and exceptions using the Rollbar service.

Installation

Simple WP Rollbar can be found and installed in the normal way, either through the UI or using composer.

Configuration

The following environment variables are required:

  • ROLLBAR_SERVER_ACCESS_TOKEN
  • ROLLBAR_CLIENT_ACCESS_TOKEN
  • APPLICATION_MODE

To test that the plugin is working, go to the "Rollbar Diagnostics" page in the WordPress Settings menu. Use the "Test Rollbar PHP" and "Test Rollbar Browser JS" buttons to send quick test messages to Rollbar and confirm both methods are functioning.