PHP code example of o0khoiclub0o / honeybadger-php
1. Go to this page and download the library: Download o0khoiclub0o/honeybadger-php 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/ */
o0khoiclub0o / honeybadger-php example snippets
use Honeybadger\Honeybadger;
Honeybadger::$config->values(array(
'api_key' => '[your-api-key]',
));
// To add an additional environment to be ignored:
Honeybadger::$config->development_environments[] = 'staging';
// To override the default environments completely:
Honeybadger::$config->development_environments = array(
'test', 'behat',
);