PHP code example of webchemistry / rollbar
1. Go to this page and download the library: Download webchemistry/rollbar library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
webchemistry / rollbar example snippets
class BasePresenter extends Presenter {
/** @var WebChemistry\RollBar\RollBar @inject */
public $rollbar;
public function startup() {
parent::startup();
$this->rollbar->sendTest(); // After first use remove
}
}