PHP code example of qlimix / http-exception-logger-middleware

1. Go to this page and download the library: Download qlimix/http-exception-logger-middleware 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/ */

    

qlimix / http-exception-logger-middleware example snippets




use Qlimix\HttpMiddleware\ExceptionLoggerMiddleware;

$logger = new FooBarExceptionLogger();

$loggerMiddleware = new ExceptionLoggerMiddleware($logger);