chbakouras / rollbar
Monitors errors and exceptions and reports them to Rollbar
Requires
- php: >=8.0.0 <9.0
- ext-curl: *
- monolog/monolog: ^2
- psr/log: ^1 || ^2
Requires (Dev)
- mockery/mockery: ^1
- phpmd/phpmd: ^2
- phpunit/phpunit: ^9
- squizlabs/php_codesniffer: ^3.6 || 3.x-dev
- vimeo/psalm: ^4.13
Suggests
- fluent/logger: Needed to use the 'fluent' handler for fluentd support
- dev-release
- v3.1.3
- v3.1.3-RC1
- v3.1.2
- v3.1.1
- v3.1.0
- v3.0.0
- v3.0.0-RC2
- v3.0.0-RC1
- v2.2.1
- v2.2.0
- v2.1.0
- v2.0.0
- v1.8.1
- v1.8.0
- v1.7.5
- v1.7.4
- v1.7.3
- v1.7.2
- v1.7.1
- v1.7.0
- v1.6.3
- v1.6.2
- v1.6.1
- v1.6.0
- v1.5.3
- v1.5.2
- v1.5.1
- v1.5.0
- v1.4.3
- v1.4.2
- v1.4.1
- v1.4.0
- v1.3.6
- v1.3.5
- v1.3.4
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.0
- v1.1.1
- v1.1.0
- v1.0.1
- v1.0.0
- v1.0.0-beta
- v0.18.2
- v0.18.0
- v0.17.0
- v0.16.0
- v0.15.0
- v0.14.0
- v0.13.0
- v0.12.1
- v0.12.0
- v0.11.2
- v0.11.1
- v0.11.0
- v0.10.0
- v0.9.12
- v0.9.11
- v0.9.10
- v0.9.9
- v0.9.8
- v0.9.7
- v0.9.6
- v0.9.4
- v0.9.3
- v0.9.1
- v0.9.0
- v0.8.1
- v0.8.0
- v0.7.0
- v0.6.4
- 0.6.3
- 0.6.2
- 0.6.1
- 0.6.0
- 0.4.1
- dev-master
This package is auto-updated.
Last update: 2024-12-09 02:36:53 UTC
README
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, 7.3, 7.4 Supported HHVM versions: 3.6, 3.18, 3.21, 3.24, 3.27
Setup Instructions
- 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.
Related projects
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 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 (See Conventional Commits below)
- Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Conventional Commits
This repository follows the Conventional Commits guidelines. Commit messages should include a prefix describing the commit before the short description. Recognized prefixes include: feat, fix, doc, style, refactor, perf, test, build, chore, revert. Breaking changes should include 'BREAKING CHANGE'.
Example:
git commit -m 'feat(bars): add foo support for all bars
fix #123
BREAKING CHANGE: bars supporting foo break bars supporting qwerty'
Optionally, you can use commitizen to format your commit messages.
npm install -g commitizen
npm install -g cz-conventional-changelog
echo '{ "path": "cz-conventional-changelog" }' > ~/.czrc
And then commit using git cz
. You'll be prompted for information describing your commit.
Testing
Tests are in tests
.
To run the tests: composer test
To fix code style issues: composer fix
Tagging
ROLLBAR_PHP_TAG=[version number]
git checkout master
- Update version numbers in
src/Payload/Notifier.php
andtests/NotifierTest.php
. git add .
git commit -m"Bump version numbers"
.git push origin master
git tag v$ROLLBAR_PHP_TAG
git push --tags
License
Rollbar-PHP is free software released under the MIT License. See LICENSE.txt for details.