PHP code example of oxcom / symfony-rollbar-bundle
1. Go to this page and download the library: Download oxcom/symfony-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/ */
oxcom / symfony-rollbar-bundle example snippets
\SymfonyRollbarBundle\SymfonyRollbarBundle::class => ['all' => true]
$bundles = [
// ...
new \SymfonyRollbarBundle\SymfonyRollbarBundle(),
// ...
];
yaml
symfony_rollbar:
enable: true
exclude:
- \AppBundle\Exceptions\MyAwesomeException
rollbar:
access_token: 'some-secret-token-here'
rollbar_js:
access_token: 'some-public-token-here'