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 error monitoring integration for Magento projects.
WARNING: before installing Rollbar module, make sure that you can run bin/magento setup:upgrade
in your Magento app without problems.
- Add
rollbar-magento2
as a dependency incomposer.json
of your project and runcomposer update
. - Add your Rollbar post server access token to
app/etc/env.php
underrollbar
key, ie:
'rollbar' => [
'access_token' => '[YOUR ACCESS TOKEN]'
]
- Add any additional Rollbar configuration in
app/etc/env.php
underrollbar
key. bin/magento module:enable Rollbar_Magento2
.bin/magento setup:upgrade
.
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
.
See our Releases page for a list of all releases, including changes.
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
If you run into any issues, please email us at [email protected]
For bug reports, please open an issue on GitHub.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request