/rollbar-php-examples

A number of examples apps using Rollbar PHP

Primary LanguagePHP

Rollbar PHP Examples

A number of example apps using Rollbar PHP.

List of examples

  • custom-data: saving context data in the custom configuration option
  • laravel: all of the Laravel examples are grouped in this directory
    • custom-data: how to add custom data dynamically to your Rollbar messages in Laravel
    • simple-logging: this is the most simple, out-of-the-box logging Rollbar provides automatically and by manually invoking the log methods
  • monolog: using Rollbar through Monolog
  • transformer: setting up a custom transformer which modifies the payload before sending it to Rollbar

Installation

Each example contains a README.md file of it's own with instructions how to set up the example app.

Help / Support

If you run into any issues, please email us at support@rollbar.com

Testing

Each project contains the example.php file which is the main entrypoint to the example application. It can be invoked using composer test.