• Stars
    star
    334
  • Rank 126,264 (Top 3 %)
  • Language
    PHP
  • License
    MIT License
  • Created about 12 years ago
  • Updated 9 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
572
star
2

rollbar-gem

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

pyrollbar

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

rollbar-go

Go client for Rollbar
Go
105
star
5

node_rollbar

DEPRECATED - please use rollbar.js
JavaScript
82
star
6

rollbar-java

Rollbar for Java and Android
Java
71
star
7

rollbar-agent

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

Rollbar.NET

Rollbar for .NET
C#
65
star
9

rollbar-ios

Objective-C library for crash reporting and logging with Rollbar.
Objective-C
65
star
10

rollbar-react-native

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

github-deploy-action

Github action to notify deploys to Rollbar
Shell
53
star
12

rollbar-android

Rollbar for Android
Java
43
star
13

rollbar-react

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

terraform-provider-rollbar

Terraform provider for Rollbar
Go
28
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
26
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

rollbar-cli

JavaScript
10
star
21

mysql-monitor

Monitors a MySQL instance and reports back to Rollbar for various performance issues.
Python
9
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

tutorial-sqlalchemy-caching

Python
4
star
26

clj-rollbar

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

rollbar-ember-example

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

sinatra-rollbar-example

Example using Rollbar with Sinatra
Ruby
4
star
29

rollbar-celery-example

Example app using Rollbar with Celery
Python
4
star
30

api-examples

Examples using the Rollbar REST API
JavaScript
4
star
31

rollbar-sf-apex

Apex
4
star
32

rollbar-sailsjs-example

How to integrate Rollbar into a Sails.js application
JavaScript
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

php-sample

PHP
1
star
43

ators

ators: rewrite it in Rustโ„ข, blazingly fast, etc.
Rust
1
star
44

rollbar-ruby-core

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