2017 © Pedro Peláez
 

yii2-extension yii2-logvisitor

The Yii2 extension to log site requests and draw charts of these requests progress by calendar dates.

image

slavkovrn/yii2-logvisitor

The Yii2 extension to log site requests and draw charts of these requests progress by calendar dates.

  • Sunday, August 27, 2017
  • by slavkovrn
  • Repository
  • 3 Watchers
  • 3 Stars
  • 181 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 25 % Grown

The README.md

Log site requests component and draw charts of these requests module for Yii 2.0 Framework

The Yii2 extension uses visualize.jQuery.js to draw progress charts of site requests logged by calendar dates., (*1)

Log visitor demo page., (*2)

Log visitor, (*3)

Installation

The preferred way to install this extension is through composer., (*4)

Either run:, (*5)

composer require slavkovrn/yii2-logvisitor

or add, (*6)

"slavkovrn/yii2-logvisitor": "*"

to the require section of your composer.json file., (*7)

Usage

To make LogVisitorComponent log site requests, (*8)

    1. add link to component in your config (in my case it's /config/web.php)
return [
    'components' => [
        'logvisitor' => [
            'class' => 'slavkovrn\logvisitor\LogVisitorComponent'
            'filterIp' => '127.0.0.1,213.87.',  /* comma separated substrings of IP  to be filtered of log in table , begining from first position  */
            'filterUri' => '/,debug',           /* comma separated substrings of URI to be filtered of log in table */
        ],
    ],
];
    1. add link to log site requests automatically
return [
    'bootstrap' => ['log', 'logvisitor'],
]; 

To draw charts of requests progress, (*9)

    1. add link to LogVisitorModule in your config
return [
    'modules' => [
        'logvisitor' => [
            'class' => 'slavkovrn\logvisitor\LogVisitorModule',
        ],
    ],
]; 

and now you can see the charts of site requests in progress by calendar dates via http://yoursite.com/logvisitor url, (*10)

write comments to admin, (*11)

The Versions

27/08 2017

dev-master

9999999-dev

The Yii2 extension to log site requests and draw charts of these requests progress by calendar dates.

  Sources   Download

MIT

The Requires

 

log extension yii2 requests charts draw

27/08 2017

1.0.1

1.0.1.0

The Yii2 extension to log site requests and draw charts of these requests progress by calendar dates.

  Sources   Download

MIT

The Requires

 

log extension yii2 requests charts draw

22/08 2017

1.0.0

1.0.0.0

The Yii2 extension to log site requests and draw charts of these requests progress by calendar dates.

  Sources   Download

MIT

The Requires

 

log extension yii2 requests charts draw