Componette

Componette

WebChemistry

WebChemistry / RollBar 1.1

Rollbar integration for Nette framework

download-cloud-line composer require webchemistry/rollbar

Rollbar for Nette

Instalation

composer require webchemistry/rollbar

Neon:

extensions:
	rollbar: WebChemistry\RollBar\DI\Extension
	
rollbar:
	accessToken: xxx

First use

class BasePresenter extends Presenter {
	
	/** @var WebChemistry\RollBar\RollBar @inject */
	public $rollbar;

	public function startup() {
		parent::startup();
		
		$this->rollbar->sendTest(); // After first use remove
	}
}

Config

rollback:
	accessToken: xxx
	logging: no
	enable: %productionMode%
	config: # For Rollback::init
		included_errno: -1
price-tag-2-line

Badges

guide-fill

Dependencies

php (>= 5.5)
Componette Componette felix@nette.org