brunocouty/laravel-logs-viewer 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

brunocouty/laravel-logs-viewer

Composer 安装命令:

composer require brunocouty/laravel-logs-viewer

包简介

Library to read the Laravel Logs easily in your applications!

README 文档

README

This library provider an friendly interface to view and analyze the logs from Laravel.

alt text

Click here to see MORE screenshots!

Installation

composer require brunocouty/laravel-logs-viewer

In your config/app.php, add in "provider" array:

\BrunoCouty\LaravelViewLogs\LaravelLogsViewerServiceProvider::class,

And add in 'aliases' array:

'LaravelLogsViewer' => \BrunoCouty\LaravelViewLogs\LaravelLogsViewerFacade::class,

You need publish the assets (css and js files):

php artisan vendor:publish --tag=public

In your routes file, add:

LaravelLogsViewer::routes();

Note: If you want protected your route with a middleware or group, use something like:

Route::group(['prefix' => 'your-group', 'middleware' => 'auth'], function () {
    LaravelLogsViewer::routes();
});

Usage

To use this library, you need access the route "/logs" in your application.

http://127.0.0.1:8000/logs

// or

http://127.0.0.1:8000/your-group/logs

Customizing

To customize the view of this library, publish:

php artisan vendor:publish

Return:

Copied Directory [/modules/brunocouty/laravel-logs-viewer/src/resources/views] To [/resources/views]
Copied Directory [/modules/brunocouty/laravel-logs-viewer/src/resources/assets] To [/public/vendor/laravel-logs-viewer]

The view is in: "resources/views/logs".

The css and js files are in: "public/vendor/laravel-logs-viewer".

Like this content? Pay me a coffee!

Yeah! You like of this package? Pay me a coffee and help me to keep this package updated!

When you are my support, you have access to exclusive posts with a lot that cool things about PHP, Laravel, AngularJS, VueJS, Ionic, and much more! You will see haw create your own PHP Packages, resolve mistakes on your code... The great content!

Help me with only $1 / month and you will have access to my private content! And more, you need help to code your project? I can help you! Access my Patreon Profile, I can help you via e-mail or skype!

https://www.patreon.com/brunocouty

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • 开发语言: HTML

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-06-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固