1. Go to this page and download the library: Download bugsmonitor/bugsmonitor-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/ */
$bugSender = \Bugsender\Bugsender::getInstance();
# set authorized user
$bugSender->setUser([
'id' => 123,
'name' => 'Joe Doe',
'email' => '[email protected]',
]);
// default not send keys
'pass',
'password',
'confirm_password',
'password_confirm',
'password_confirmation',
// you can overwrite this with
$bugsMonitor->setStopKeys(Array);
// or add other keys
$bugsMonitor->addStopKeys(Array|String);