| Install | |
|---|---|
composer require rollbar/rollbar-laravel |
Rollbar error monitoring integration for Laravel projects. This library adds a listener to Laravel's logging component. Laravel's session information will be sent in to Rollbar, as well as some other helpful information such as 'environment', 'server', and 'session'.
For complete usage instructions and configuration reference, see our Laravel SDK docs.
See our Releases page for a list of all releases, including changes.
Laravel 5.6 now requires PHP >= 7.1. As of rollbar/rollbar-php-laravel:v3.0.0 and up master also supports 5.6.
We still maintain support for Laravel 5.5 and below on branch laravel-5.5 and releases in the 2.x.x major.
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 support@rollbar.com
For bug reports, please open an issue on GitHub.
git checkout -b my-new-feature)git commit -am 'Added some feature')git push origin my-new-feature)Tests are in tests.
composer testcomposer fixNote: The test suite uses Orchestra Testbench, which resolves the Laravel version based on your installed PHP. To reproduce Laravel 13-specific failures locally you need PHP 8.3 or higher — PHP 8.1/8.2 will resolve to Testbench 9/10 (Laravel 11/12) and will not exercise the Laravel 13 container. The full Laravel 13 integration is verified by CI, which runs the real Laravel install against PHP 8.3+.
Docker binaries are located in ./bin and can be run by simply executing bin/phpunit for example.
bin/phpunitbin/phpcs or bin/phpcbfbin/phpunit-versionsbin/composer install OR bin/composer update