dev-master
9999999-devlog analysis
MIT
The Requires
by 张梦林
log analysis
This Module Extension for Yii 2, Small teams, multi project development, testing model, (*1)
For license information check the LICENSE-file., (*2)
The preferred way to install this extension is through composer., (*3)
Either run, (*4)
php composer.phar require dreamzml/yii2-logs-analysis
or add, (*5)
"dreamzml/yii2-logs-analysis": "*"
to the require-dev section of your composer.json
file., (*6)
Once the extension is installed, simply modify your application configuration as follows:, (*7)
return [ 'modules' => [ 'analysis' => [ 'class' => 'dreamzml\LogAnalysis\Module', 'allowedIPs' => ['127.0.0.1', '::1'], // if set ['*'] allow all ip 'monitors' => ['admin'=>'123456'], //allow users, if set * allow all user ], ], // ... ];
You can then access Gii through the following URL:, (*8)
http://localhost/path/to/index.php?r=analysis
or if you have enabled pretty URLs, you may use the following URL:, (*9)
http://localhost/path/to/index.php/analysis
log analysis
MIT