Code Monkey home page Code Monkey logo

rollbar-php's Introduction

Rollbar-PHP

Latest Version on Packagist Build Status Total Downloads

This library detects errors and exceptions in your application and sends them to Rollbar for alerts, reporting, and analysis.

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:^2

\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 master 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:dev-master

# 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.

rollbar-php's People

Contributors

arturmoczulski avatar rokob avatar brianr avatar crisfole avatar sbezboro avatar icsahn-rollbar avatar coryvirok avatar mrunalk avatar michaelmackus avatar rfink avatar vilius-g avatar nekofar avatar jasny avatar bradacjan avatar jlesueur avatar johnkendhammer avatar khandieyea avatar jessewgibbs avatar rnagatsukapmc avatar flachesis avatar elazar avatar vdechenaux avatar ryanshoover avatar pierlon avatar lindyhopchris avatar asuth avatar ghostal avatar kdambekalns avatar cordoval avatar digilist avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.