PHPackages                             newism/craft-rollbar - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. newism/craft-rollbar

AbandonedArchivedCraft-plugin[Logging &amp; Monitoring](/categories/logging)

newism/craft-rollbar
====================

Rollbar integration for CraftCMS

1.3.0(4y ago)110.1k5MITPHP

Since Feb 28Pushed 1y ago1 watchersCompare

[ Source](https://github.com/newism/craft-rollbar)[ Packagist](https://packagist.org/packages/newism/craft-rollbar)[ RSS](/packages/newism-craft-rollbar/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

Archived
========

[](#archived)

This plugin is now archived.

See:  for an alternative implementation of Rollbar.

[![Rollbar for Craft CMS](./src/icon.svg)](./src/icon.svg)

Rollbar plugin for Craft CMS
============================

[](#rollbar-plugin-for-craft-cms)

This plugin provides an [Rollbar](https://rollbar.com) integration for [Craft CMS v3.x](https://craftcms.com).

Features
--------

[](#features)

- PHP Exception reporting to Rollbar
- JS Exception reporting to Rollbar (optional)

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.1 or later

Installation
------------

[](#installation)

### Plugin Store

[](#plugin-store)

To install `Rollbar`, navigate to the Plugin Store section of your Craft control panel, search for `Rollbar`, and click the Try button.

### Composer

[](#composer)

You can also add the package to your project using Composer.

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

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require newism/craft-rollbar

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Rollbar.

Configuration
-------------

[](#configuration)

First you'll need to setup a [Rollbar account](https://rollbar.com/).

Once you have an account you'll be provided with an `Access Key`.

To add the Afterpay payment gateway, go to Settings → Plugins → Rollbar and enter the access key.

You may then decide to configure your Rollbar gateway using a [config file](https://docs.craftcms.com/commerce/v2/gateway-config.html#gateway-configuration). An example file looks like:

```
