PHP code example of imransaleem / http-db-logger
1. Go to this page and download the library: Download imransaleem/http-db-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/ */
imransaleem / http-db-logger example snippets
'providers' => [
// Other service providers...
Imransaleem\HttpDbLogger\HttpDbLoggerServiceProvider::class,
],
protected $middleware = [
// Other middleware...
\Imransaleem\HttpDbLogger\Middleware\LogHttpToDatabase::class,
];
bash
php artisan vendor:publish --tag=config
php artisan vendor:publish --tag=migrations
bash
php artisan migrate