• Stars
    star
    332
  • Rank 122,276 (Top 3 %)
  • Language
    PHP
  • License
    MIT License
  • Created over 11 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Error tracking and logging from PHP to Rollbar

rollbar-logo

Rollbar PHP SDK

Proactively discover, predict, and resolve errors in real-time with Rollbar’s error monitoring platform. Start tracking errors today!

Latest Version on Packagist CI for Rollbar-PHP, master Total Downloads


Key benefits of using Rollbar PHP SDK are:

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

Releases, Versions, and PHP Compatibility

Major releases of this library support major versions of PHP, as follows:

  • For PHP 8, choose the 4.x or 3.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.

More Repositories

1

rollbar.js

Error tracking and logging from Javascript to Rollbar
JavaScript
562
star
2

rollbar-gem

Exception tracking and logging from Ruby to Rollbar
Ruby
441
star
3

pyrollbar

Error tracking and logging from Python to Rollbar
Python
209
star
4

rollbar-go

Go client for Rollbar
Go
102
star
5

node_rollbar

DEPRECATED - please use rollbar.js
JavaScript
84
star
6

rollbar-java

Rollbar for Java and Android
Java
73
star
7

rollbar-agent

A daemon to monitor log files and push messages to Rollbar
Python
68
star
8

rollbar-ios

Objective-C library for crash reporting and logging with Rollbar.
Objective-C
66
star
9

Rollbar.NET

Rollbar for .NET
C#
65
star
10

rollbar-react-native

Crash and error reporting for React Native using Rollbar
Objective-C
60
star
11

github-deploy-action

Github action to notify deploys to Rollbar
Shell
53
star
12

rollbar-android

Rollbar for Android
Java
42
star
13

rollbar-react

React features to enhance using Rollbar.js in React Applications
JavaScript
40
star
14

terraform-provider-rollbar

Terraform provider for Rollbar
Go
25
star
15

rollbar-apple

Objective-C & Swift library for remote crash, exception, error reporting, and logging with Rollbar. It works on all Apple *OS platforms (macOS, iOS, tvOS, watchOS, etc).
Objective-C
22
star
16

rollbar-flask-example

Example using Rollbar with Flask
Python
21
star
17

rollbar-flutter

Rollbar for Dart and Flutter
Dart
20
star
18

logstash-output-rollbar

Logstash output plugin that sends events to the Rollbar error monitoring service
Ruby
14
star
19

flash_rollbar

Flash notifier for Rollbar
ActionScript
12
star
20

mysql-monitor

Monitors a MySQL instance and reports back to Rollbar for various performance issues.
Python
9
star
21

rollbar-cli

JavaScript
8
star
22

rollbar-rust

Rust SDK and other Rust code for working with Rollbar
Rust
7
star
23

rollbar-redux-middleware

JavaScript
5
star
24

docs

MOSTLY DEPRECATED. Contains onboarding and on-prem docs for Rollbar
4
star
25

clj-rollbar

(pre-alpha) Clojure client for Rollbar
Clojure
4
star
26

rollbar-ember-example

Example for how to track errors in Ember.js applications using Rollbar
JavaScript
4
star
27

rollbar-celery-example

Example app using Rollbar with Celery
Python
4
star
28

sinatra-rollbar-example

Example using Rollbar with Sinatra
Ruby
4
star
29

api-examples

Examples using the Rollbar REST API
JavaScript
4
star
30

rollbar-sf-apex

Apex
4
star
31

rollbar-sailsjs-example

How to integrate Rollbar into a Sails.js application
JavaScript
3
star
32

tutorial-sqlalchemy-caching

Python
3
star
33

rollbar-php-examples

A number of examples apps using Rollbar PHP
PHP
3
star
34

rollbar-terraform

[Very early WiP] Rollbar provider for Terraform
Go
3
star
35

rollbar-orb

CircleCI Orb for reporting deploys to Rollbar
3
star
36

api-people-example

Shows how to get the Person data for each occurrence of a given list of item ids
Python
2
star
37

rollbar-php-magento2

Rollbar SDK for Magento 2
PHP
2
star
38

ClubHouseCycleTime

Python
1
star
39

rollbar-cordova

Rollbar SDK for Cordova
Java
1
star
40

sm-tool

JavaScript
1
star
41

rollbar-terraform-importer

Go
1
star
42

ators

ators: rewrite it in Rustβ„’, blazingly fast, etc.
Rust
1
star
43

php-sample

PHP
1
star
44

rollbar-ruby-core

Exception tracking and logging from Ruby to Rollbar https://rollbar.com/docs/
1
star