1. Go to this page and download the library: Download netresearch/nr-bug-reporter 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/ */
netresearch / nr-bug-reporter example snippets
// Development error page with the "Report this bug" banner:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['debugExceptionHandler']
= \Netresearch\NrBugReporter\Error\ReportingExceptionHandler::class;
// Production capture: visitors get the core production error page; the error is recorded
// for the toolbar of a logged-in backend user:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['productionExceptionHandler']
= \Netresearch\NrBugReporter\Error\ReportingProductionExceptionHandler::class;