Download the PHP package onmpw/jiyilog without Composer
On this page you can find all versions of the php package onmpw/jiyilog. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download onmpw/jiyilog
More information about onmpw/jiyilog
Files in onmpw/jiyilog
Download onmpw/jiyilog
More information about onmpw/jiyilog
Files in onmpw/jiyilog
Vendor onmpw
Package jiyilog
Short Description Record your api access log.
License
Homepage https://github.com/onmpw/jiyilog.git
Package jiyilog
Short Description Record your api access log.
License
Homepage https://github.com/onmpw/jiyilog.git
Please rate this library. Is it a good library?
Informations about the package jiyilog
jiyilog
记录项目中 api 访问日志,并可以通过web进行展示.
这个扩展是针对laravel
使用的。
安装
使用composer
进行安装
然后在 config/app.php 配置项providers
中添加 Onmpw\JiyiLog\JiyiLogServiceProvider
使用
使用也比较简单
默认情况下,日志是记录在了 Redis中,所以要在项目中配置Redis的访问。 同时,该扩展提供了将Redis中的数据备份到数据库的命令
数据库已经在 Migrations中创建好了,可以执行Laravel相关的 migrate命令创建数据库。
对于日志的访问,该扩展提供了两个模板,可以通过内置的路由进行访问
yourdomain/showlog
和 yourdomain/viewlog
All versions of jiyilog with dependencies
PHP Build Version
Package Version
Requires
predis/predis Version
^1.1
The package onmpw/jiyilog contains the following files
Loading the files please wait ....