rollbar / rollbar-magento2
Rollbar SDK for Magento 2
Installs: 48 743
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 30
Forks: 11
Open Issues: 1
Requires
- rollbar/rollbar: ^1 || ^4
This package is not auto-updated.
Last update: 2024-10-31 17:14:45 UTC
README
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
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.
- 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
.
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
- 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