Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/webchemistry/rollbar

Rollbar integration for Nette framework
https://github.com/webchemistry/rollbar

Last synced: about 1 month ago
JSON representation

Rollbar integration for Nette framework

Awesome Lists containing this project

README

        

# Rollbar for Nette

## Instalation

```
composer require webchemistry/rollbar
```

Neon:
```yaml
extensions:
rollbar: WebChemistry\RollBar\DI\Extension

rollbar:
accessToken: xxx
```

## First use

```php
class BasePresenter extends Presenter {

/** @var WebChemistry\RollBar\RollBar @inject */
public $rollbar;

public function startup() {
parent::startup();

$this->rollbar->sendTest(); // After first use remove
}
}
```

## Config

```yaml
rollback:
accessToken: xxx
logging: no
enable: %productionMode%
config: # For Rollback::init
included_errno: -1
```