rollbar / rollbar
Monitors errors and exceptions and reports them to Rollbar
Installs: 17 647 244
Dependents: 91
Suggesters: 34
Security: 0
Stars: 334
Watchers: 43
Forks: 120
Open Issues: 10
Requires
- php: >=8.0.0 <9.0
- ext-curl: *
- monolog/monolog: ^2 || ^3
- psr/log: ^1 || ^2 || ^3
Requires (Dev)
- mockery/mockery: ^1.5.1
- phpmd/phpmd: ^2.13
- phpunit/phpunit: ^9.6 || ^10.1
- squizlabs/php_codesniffer: ^3.7
- vimeo/psalm: ^5.9
Suggests
- fluent/logger: Needed to use the 'fluent' handler for fluentd support
- dev-master
- v4.1.0-beta
- v4.0.2
- v4.0.1
- v4.0.0
- v4.0.0-rc
- v4.0.0-beta
- v3.1.4
- 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.1.0
- v2.0.0
- v1.8.2
- 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-next/3.x/main
- dev-next/1.x/main
- dev-next/2.x/main
This package is not auto-updated.
Last update: 2024-09-28 01:02:47 UTC
README
Rollbar PHP SDK
Proactively discover, predict, and resolve errors in real-time with Rollbar’s error monitoring platform. Start tracking errors today!
Key benefits of using Rollbar PHP SDK are:
- Frameworks: Rollbar php supports many popular php frameworks such as Laravel, CodeIgniter, Symfony and many more!
- Plugins: Rollbar php has plugin support for Heroku, Wordpress, Rollbar.js and more.
- Automatic error grouping: Rollbar aggregates Occurrences caused by the same error into Items that represent application issues. Learn more about reducing log noise.
- Advanced search: Filter items by many different properties. Learn more about search.
- Customizable notifications: Rollbar supports several messaging and incident management tools where your team can get notified about errors and important events by real-time alerts. Learn more about Rollbar notifications.
Quickstart
If you've never used Rollbar before, sign up for a Rollbar account and follow the simple, three-step tour. In no time, you'll be capturing errors and exceptions thrown in your code.
If you already have a Rollbar account, log in to your Rollbar account.
From the Settings > Project Access Token menu, click Create New Access Token.
Copy the post_client_item
value and paste it into the code below.
require 'vendor/autoload.php'; // composer require rollbar/rollbar \Rollbar\Rollbar::init([ 'access_token' => '***', 'environment' => 'development', ]);
For detailed usage instructions and configuration reference, refer to our PHP SDK docs.
Getting Help
- If you have a question, ask in our Discussion Q&A
- To report a bug, raise an issue
- For account service, reach out to support@rollbar.com
Releases, Versions, and PHP Compatibility
Major releases of this library support major versions of PHP, as follows:
- For PHP 8, choose the
4.x
or3.x
branch. - For PHP 7, choose a
2.x
release. - For PHP 5, choose a
1.x
release.
To obtain a release, download an archive from the Releases page or use composer:
# for PHP 8 compatibility $ composer require rollbar/rollbar:^4 # or $ composer require rollbar/rollbar:^3 # for PHP 7 compatibility $ composer require rollbar/rollbar:^2 # for PHP 5 compatibility $ composer require rollbar/rollbar:^1
Refer to CHANGELOG.md for a complete history.
License
Rollbar-PHP is free software released under the MIT License. See LICENSE for details.