PHP code example of friendsofhyperf / http-logger
1. Go to this page and download the library: Download friendsofhyperf/http-logger 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/ */
friendsofhyperf / http-logger example snippets
return [
'http' => [
\FriendsOfHyperf\Http\Logger\Middleware\HttpLogger::class,
],
];
shell
php bin/hyperf.php vendor:publish friendsofhyperf/http-logger