PHP code example of bugsmonitor / bugsmonitor-php

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/ */

    

bugsmonitor / bugsmonitor-php example snippets




$bugsMonitor = \Bugsmonitor\Bugsmonitor::getInstance();
$bugsMonitor->init([
    'projectKey' => 'YOUR_PROJECT_KEY',
    'apiKey' => 'YOUR_API_KEY',
]);
$bugsMonitor->setHandlers();

$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);
bash
composer 
bash
git clone [email protected]:bugsmonitor/bugsmonitor-php.git