Documentation

Check out our guides and API reference documentation on how to use Rollbar to monitor, debug, and triage errors.

Guides & SDKs    API Reference

Heroku

How to setup rollbar-php with Heroku

First, add the addon:

heroku addons:create rollbar:free

The access_token and root config variables will be automatically detected, so the config is simply:

<?php
use Rollbar\Rollbar;
  
Rollbar::init(array(
    'environment' => 'production'
));    

πŸ“˜

For more information on rollbar-php, please see the docs here.

Updated about a year ago


Heroku


How to setup rollbar-php with Heroku

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.