PHP code example of slashtrace / slashtrace-bugsnag
1. Go to this page and download the library: Download slashtrace/slashtrace-bugsnag 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/ */
slashtrace / slashtrace-bugsnag example snippets
use SlashTrace\SlashTrace;
use SlashTrace\Bugsnag\BugsnagHandler;
$handler = new BugsnagHandler("Your Bugsnag API key");
$slashtrace = new SlashTrace();
$slashtrace->addHandler($handler);