This library detects errors and exceptions in your application and reports them to Rollbar for alerts, reporting, and analysis.
Supported PHP versions: 5.3, 5.4, 5.5, 5.6, 7, 7.1, 7.2 and HHVM (currently tested on 3.6.6).
- Sign up for a Rollbar account
- Follow the Quick Start instructions in our PHP SDK docs to install rollbar-php and configure it for your platform.
Usage and Reference
For complete usage instructions and configuration reference, see our PHP SDK docs.
Release History & Changelog
See our Releases page for a list of all releases, including changes.
A range of examples of using Rollbar PHP is available here: Rollbar PHP Examples.
A Wordpress Plugin is available through Wordpress Admin Panel or through Wordpress Plugin directory: Rollbar Wordpress
A Laravel-specific package is available for integrating with Laravel: Rollbar Laravel
A CakePHP-specific package is avaliable for integrating with CakePHP 2.x: CakeRollbar
A Flow-specific package is available for integrating 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 email@example.com
For bug reports, please open an issue on GitHub.
The best, configure your Rollbar with
verbosity at level
\Psr\Log\LogLevel::DEBUG and attach
the contents of your
sys_get_temp_dir() . '/rollbar.debug.log' (usually
- 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
Tests are in
To run the tests:
To fix code style issues:
git checkout master
- Update version numbers in
git add .
git commit -m"Bump version numbers".
git push origin master
git tag v$ROLLBAR_PHP_TAG
git push --tags
Rollbar-PHP is free software released under the MIT License. See LICENSE.txt for details.