md
This commit is contained in:
parent
8224a1f704
commit
7995091b38
12
.idea/laravel-log-viewer.iml
Normal file
12
.idea/laravel-log-viewer.iml
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="WEB_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/spec" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" packagePrefix="Zyimm\LogViewer\" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
8
.idea/modules.xml
Normal file
8
.idea/modules.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/laravel-log-viewer.iml" filepath="$PROJECT_DIR$/.idea/laravel-log-viewer.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
4
.idea/php.xml
Normal file
4
.idea/php.xml
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="PhpProjectSharedConfiguration" php_language_level="7" />
|
||||
</project>
|
6
.idea/vcs.xml
Normal file
6
.idea/vcs.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
27
README.md
27
README.md
|
@ -1,20 +1,3 @@
|
|||
<div align="center">
|
||||
|
||||
# Dcat Laravel Log Viewer
|
||||
|
||||
<p>
|
||||
<a href="https://github.com/jqhph/laravel-log-viewer/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-MIT-7389D8.svg?style=flat" ></a>
|
||||
<a href="https://styleci.io/repos/215738797">
|
||||
<img src="https://github.styleci.io/repos/215738797/shield" alt="StyleCI">
|
||||
</a>
|
||||
<a href="https://github.com/jqhph/laravel-log-viewer/releases" ><img src="https://img.shields.io/github/release/jqhph/laravel-log-viewer.svg?color=4099DE" /></a>
|
||||
</p>
|
||||
|
||||
`Dcat Log Viewer`是一个`Laravel`日志查看工具,支持大文件日志的查看和搜索功能,更改自[laravel-admin-extensions/log-viewer](https://github.com/laravel-admin-extensions/log-viewer)。
|
||||
|
||||
</div>
|
||||
|
||||
![](https://cdn.learnku.com/uploads/images/202007/09/38389/5Ps3bfhdrR.png!large)
|
||||
|
||||
## 功能
|
||||
|
||||
|
@ -36,16 +19,16 @@
|
|||
## 安装
|
||||
|
||||
```bash
|
||||
composer require dcat/laravel-log-viewer
|
||||
composer require zyimm/laravel-log-viewer
|
||||
```
|
||||
|
||||
发布配置文件,此步骤可省略
|
||||
|
||||
```bash
|
||||
php artisan vendor:publish --tag=dcat-log-viewer
|
||||
php artisan vendor:publish --tag=zyimm-log-viewer
|
||||
```
|
||||
|
||||
然后访问 `http://hostname/dcat-logs` 即可
|
||||
然后访问 `http://hostname/zyimm-logs` 即可
|
||||
|
||||
配置文件
|
||||
|
||||
|
@ -54,9 +37,9 @@ php artisan vendor:publish --tag=dcat-log-viewer
|
|||
return [
|
||||
'route' => [
|
||||
// 路由前缀
|
||||
'prefix' => 'dcat-logs',
|
||||
'prefix' => 'zyimm-logs',
|
||||
// 命名空间
|
||||
'namespace' => 'Dcat\LogViewer',
|
||||
'namespace' => 'Zyimm\LogViewer',
|
||||
// 中间件
|
||||
'middleware' => [],
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue
Block a user