PHP

PHP error logging with Rollbar

Instantly know when PHP errors occur and how to fix it

Get exception & crash reports in real-time. Track & debug bugs in record time.

Real-time error reporting

Get notified of PHP errors instantly as they occur after deployment - and before users notice.

Similar errors are automatically grouped using Rollbar's fingerprinting technology to reduce noise, and all errors include detailed data to help you assess impact and assign priority.

Real-time error reporting

Error details & metadata

Rollbar automatically collects all the data you need to replicate and debug an error, presented in ways optimized for debugging speed.

Get stack traces, request parameters, local variables, affected users and IP addresses, browsers and OSes, deployed code versions, and more.

Error details & metadata

Local variables & arguments

Local variables and arguments can help you debug problems faster by showing you the state of the application when the error was created.

You can view their values directly from the stack trace, and know exactly how to reproduce an error locally because you can see what triggered it.

Local variables & arguments

Works with your stack

Rollbar supports all popular languages and frameworks.

javascriptvuelaravel
symfonywordpressreact

Fits into your workflow

Integrations with tools you're already using.

slackjiragithub
bitbucketjenkinspagerduty

Rollbar allows us to go from alerting to impact analysis and resolution in a matter of minutes. Without it, we would be flying blind.

Arnaud FerreriLead Engineer
 

Quick setup with our lightweight & open source SDK

Rollbar-PHP 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).

For PHP 5.3, make sure you install packfire/php5.3-compat as outlined in the suggested dependencies in composer.json

Start monitoring errors now

14-day unlimited errors free trial. 5,000 errors/month free forever.

Rollbar.js provides a configuration option captureUncaught which allows you to control if uncaught exceptions should automatically reported to Rollbar.

Rollbar PHP SDK allows you the same, but in a slightly different way. Rollbar::init takes the 2nd, 3rd and 4th argument which control if exceptions, errors and fatal errors are going to be reported to Rollbar. The default behavior is to report everything to Rollbar automatically...