定制 vietstars/logs-viewer 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

vietstars/logs-viewer

最新稳定版本:v0.0.1

Composer 安装命令:

composer require vietstars/logs-viewer

包简介

A Logs viewer

README 文档

README

============

Compatible

Log Viewer for Laravel 10

Install via composer

composer require Vietstars/logs-viewer

Add the following in bootstrap/app.php:

$app->register(\Vietstars\LogsViewer\LogsViewerServiceProvider::class);

Explicitly set the namespace in app/Http/routes.php:

$router->group(['namespace' => '\Vietstars\LogsViewer'], function() use ($router) {
    $router->get('logs', 'LogsViewerController@index');
});

Customize view

Publish log.blade.php into /resources/views/vendor/logs-viewer/ for view customization:

php artisan vendor:publish \
  --provider="Vietstars\LogsViewer\LogsViewerServiceProvider" \
  --tag=views

Edit configuration

Publish logviewer.php configuration file into /config/ for configuration customization:

php artisan vendor:publish \
  --provider="Vietstars\LogsViewer\LogsViewerServiceProvider"

统计信息

  • 总下载量: 120
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-13