Registry / observability / rollbar-rollbar

rollbar-rollbar

JSON →
library4.2.1phppackagistunverified

Monitors errors and exceptions and reports them to Rollbar

composer require rollbar/rollbar
INSTALL
IMPORT
SIG · ROLLBAR-ROLLBAR
R
rollbar-rollbar
observabilityphpv4.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Rollbar
✓ use Rollbar\Rollbar;

Initialize Rollbar and log an exception

use Rollbar\Rollbar; use Rollbar\Payload\Level; Rollbar::init(['access_token' => 'YOUR_TOKEN']); try { throw new \Exception('Test error'); } catch (\Exception $e) { Rollbar::log(Level::ERROR, $e); }
Debug
Known issues
breakingRequires PHP 7.1+; older versions may have compatibility issues.
fix
Upgrade PHP to 7.1 or later.
affects: >=4.0.0
Upgrade
Version history
4.2.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
24
Resources
rollbar-rollbar — pip install rollbar-rollbar · libregistry