- Notifications
You must be signed in to change notification settings - Fork120
Error tracking and logging from PHP to Rollbar
License
rollbar/rollbar-php
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Proactively discover, predict, and resolve errors in real-time withRollbar’s error monitoring platform.Start tracking errors today!
- Frameworks: Rollbar php supports many popular php frameworks such asLaravel,CodeIgniter,Symfony and many more!
- Plugins: Rollbar php has plugin support forHeroku,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.
If you've never used Rollbar before,sign up for a Rollbar accountand follow the simple, three-step tour. In no time, you'll be capturing errorsand 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 thepost_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 ourPHP SDK docs.
- If you have a question, ask in ourDiscussion Q&A
- To report a bug, raisean issue
- For account service, reach out tosupport@rollbar.com
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 theReleases page or usecomposer:
# 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 toCHANGELOG.md for a complete history.
Rollbar-PHP is free software released under the MIT License. SeeLICENSEfor details.
About
Error tracking and logging from PHP to Rollbar