PHP code example of satellite / rollbar-bundle
1. Go to this page and download the library: Download satellite/rollbar-bundle 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/ */
satellite / rollbar-bundle example snippets
public function registerBundles()
{
$bundles = array(
...
new Staffim\RollbarBundle\StaffimRollbarBundle(),
...
);
...
}
yml
staffim_rollbar:
# Rollbar access token
access_token: ###
# PHP error level (see http://php.net/manual/en/function.error-reporting.php)
error_level: -1
# Values from scrub.parameters are replaced by the key for specified exceptions
scrub:
exceptions:
- PDOException
parameters:
key: %key%