PHP Classes

File: config/tables.php

Recommend this page to a friend!
  Classes of Josantonius   PHP HTTP Request Logger   config/tables.php   Download  
File: config/tables.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP HTTP Request Logger
Store details about the HTTP request in a database
Author: By
Last change:
Date: 6 years ago
Size: 840 bytes
 

Contents

Class file image Download
<?php
/**
 * Save HTTP request information to the database.
 *
 * @author Josantonius <hello@josantonius.com>
 * @copyright 2017 - 2018 (c) Josantonius - HTTP Request Logger
 * @license https://opensource.org/licenses/MIT - The MIT License (MIT)
 * @link https://github.com/eliasis-framework/http-request-logger.git
 * @since 1.0.0
 */

return [
   
'table' => [
       
'request' => [
           
'id' => 'request_id',
           
'ip' => 'request_ip',
           
'uri' => 'request_uri',
           
'protocol' => 'request_protocol',
           
'method' => 'request_method',
           
'referer' => 'request_referer',
           
'user_agent' => 'request_user_agent',
           
'http_state' => 'request_http_state',
           
'load_time' => 'request_load_time',
           
'created' => 'created'
       
],
    ],
];