PHP code example of kettasoft / exception-monitor
1. Go to this page and download the library: Download kettasoft/exception-monitor 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/ */
kettasoft / exception-monitor example snippets
public function report(Throwable $exception)
{
parent::report($exception);
// Notify Slack about the exception
app(\Scaffolding\ExceptionMonitor\ExceptionMonitor::class)->report($exception);
}
dash
php artisan vendor:publish --provider="Scaffolding\ExceptionMonitor\ExceptionMonitorServiceProvider"