定制 malcolmknott/displaylog 二次开发

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

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

malcolmknott/displaylog

Composer 安装命令:

composer require malcolmknott/displaylog

包简介

Read and display contents of laravel log file

README 文档

README

This composer package reads and displays your Laravel log file.

Installation

Begin by pulling in the package through Composer.

composer require malcolmknott/displaylog

Next, if using Laravel 5, include the service provider within your config/app.php file.

'providers' => [
    Malcolmknott\Displaylog\DisplayLogServiceProvider::class,
];

Add this driver to your config/filesystems.php file.

'storage' => [
    'driver' => 'local',
    'root' => storage_path(),
]

If you have a new project scaffold the basic login and registration views to pull in Boostrap. Or publish the view file to use your own layout.

php artisan make:auth

View

Publish the view file to change the format and add your own style.

php artisan vendor:publish --provider="Malcolmknott\Displaylog\DisplayLogServiceProvider" --tag="views"

Usage

Add a route that points to the Display Log Controller, you'll probably want to add some middleware to restrict who can view your log.

Route::get('display-log', '\Malcolmknott\Displaylog\DisplayLogController@show');

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-07-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固