Skip to content

Rollbar integration for SilverStripe. Binds Rollbar to SilverStripe's error & exception handling subsystem.

License

BSD-3-Clause, BSD-3-Clause licenses found

Licenses found

BSD-3-Clause
LICENSE
BSD-3-Clause
LICENSE.md
Notifications You must be signed in to change notification settings

lundco/silverstripe-rollbar

Rollbar integration for SilverStripe

Latest Stable Version Latest Unstable Version License Monthly Downloads composer.lock

Rolbar is an error and exception aggregation service. It takes your application's errors and stores them for later analysis and debugging.

Imagine this: You see exceptions before your client does. This means the error > report > debug > patch > deploy cycle is the most efficient it can possibly be.

This module binds Rollbar, to the error & exception handler of SilverStripe. If you've used systems like RayGun, Sentry, AirBrake and BugSnag before, you'll know roughly what to expect.

Requirements

  • PHP5.4+
  • SilverStripe v3.1.0+ < 4.0

Setup

Add the Composer package as a dependency to your project:

composer require lundco/rollbar

Configure your application or site with the Rollbar Access tokens into your project's YML config:

silverstripe\rollbar\RollbarLogWriter:
  settings:
    # Example tokens only. Obviously you'll need to setup your own Rollbar "Project"
    post_server_token: ciuad6lnc7323jccoapcn7327bf
    post_client_token: c7joadcad9klf8cwn48jndq7ghf

Usage

Rollbar is normally setup once in your project's _config.php as follows, but see the usage docs for more detail and options.

SS_Log::add_writer(\silverstripe\rollbar\SentryLogWriter::factory(), SS_Log::ERR, '<=');

TODO

See the TODO docs for more.

About

Rollbar integration for SilverStripe. Binds Rollbar to SilverStripe's error & exception handling subsystem.

Topics

Resources

License

BSD-3-Clause, BSD-3-Clause licenses found

Licenses found

BSD-3-Clause
LICENSE
BSD-3-Clause
LICENSE.md

Code of conduct

Stars

Watchers

Forks

Packages

No packages published