PHP code example of ppito / laminas-whoops
1. Go to this page and download the library: Download ppito/laminas-whoops 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/ */
ppito / laminas-whoops example snippets
'WhoopsErrorHandler', // must be added as the first module
'template_render' => 'laminas_whoops/twig_error',
'visibility_service_name' => Application\Service\VisibilityService::class,
'ignored_exceptions' => [My\Exception::class, My\OtherException::class]