PHP code example of adaptit-darshan / exception-notifier
1. Go to this page and download the library: Download adaptit-darshan/exception-notifier 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/ */
adaptit-darshan / exception-notifier example snippets
use ExceptionNotifier\ExceptionNotifier;
$notifier = new ExceptionNotifier(config('exception-notifier'));
$notifier->notify(new \Exception('Custom exception message'));