PHP code example of davidcolquhoun / monitor-exceptions-laravel
1. Go to this page and download the library: Download davidcolquhoun/monitor-exceptions-laravel 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/ */
davidcolquhoun / monitor-exceptions-laravel example snippets
use Illuminate\Foundation\Configuration\Exceptions;
use Monitor\Exceptions\MonitorExceptionsClient;
return Application::configure(basePath: dirname(__DIR__))
// ... routing, middleware, etc.
->withExceptions(function (Exceptions $exceptions) {
MonitorExceptionsClient::register($exceptions);
})
->create();
bash
php artisan vendor:publish --tag=monitor-exceptions-config