Skip to content

Latest commit

 

History

History
executable file
·
62 lines (38 loc) · 2.81 KB

README.md

File metadata and controls

executable file
·
62 lines (38 loc) · 2.81 KB

Attention:

As of May 2024, Rollbar will not be actively updating this repository and plans to archive it in January of 2025. We encourage our community to fork this repo if you wish to continue its development. While Rollbar will no longer be engaging in active development, we remain committed to reviewing and merging pull requests related to security updates. If an actively maintained fork emerges, please reach out to our support team and we will link to it from our documentation.

Rollbar for Magento 2 Build Status

Rollbar error monitoring integration for Magento projects.

Setup Instructions

WARNING: before installing Rollbar module, make sure that you can run bin/magento setup:upgrade in your Magento app without problems.

  1. Add rollbar-magento2 as a dependency in composer.json of your project and run composer update.
  2. Add your Rollbar post server access token to app/etc/env.php under rollbar key, ie:
'rollbar' => [
        'access_token' => '[YOUR ACCESS TOKEN]'
    ]
  1. Add any additional Rollbar configuration in app/etc/env.php under rollbar key.
  2. bin/magento module:enable Rollbar_Magento2.
  3. bin/magento setup:upgrade.

Usage and Reference

The module should automatically report all PHP errors and exceptions in your Magento2 app. If you wish to add any manual logging in your app's code, use the standard Rollbar PHP \Rollbar\Rollbar::log method. \Rollbar\Rollbar::init has been invoked already automatically with settings from app/etc/env.php.

Release History & Changelog

See our Releases page for a list of all releases, including changes.

Related projects

This project is a Laravel wrapper of Rollbar PHP: Rollbar PHP

A CakePHP-specific package is avaliable for integrating Rollbar PHP with CakePHP 2.x: CakeRollbar

A Flow-specific package is available for integrating Rollbar PHP with Neos Flow: m12/flow-rollbar

Yii package: baibaratsky/yii-rollbar

Yii2 package: baibaratsky/yii2-rollbar

Help / Support

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

For bug reports, please open an issue on GitHub.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request