Download the PHP package qsnh/think-log-viewer without Composer
On this page you can find all versions of the php package qsnh/think-log-viewer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package think-log-viewer
ThinkLogViewer
基于 Thinkphp5 开发的日志浏览组件。该组件为我们提供了一键浏览当前项目日志的功能。
安装
使用
在命令行输入:
之后打开浏览器,输入:
可以看到:
配置
该扩展包默认注册了 /logs
路由,对应的控制器是 Qsnh\Think\Log\Controllers\LogViewerController@index
如果您因为权限原因或者路由路径问题等原因的话,请自己在 /route/route.php
文件中覆盖该路径。具体可以这样:
请注意控制好权限! 上面代码并不推荐在生产环境下使用,因为闭包无法进行路由缓存。
Author
All versions of think-log-viewer with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.0
The package qsnh/think-log-viewer contains the following files
Loading the files please wait ....