定制 eskju/laravel-http-logger 二次开发

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

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

eskju/laravel-http-logger

Composer 安装命令:

composer require eskju/laravel-http-logger

包简介

A Laravel 5 package to log HTTP requests

README 文档

README

Logger for your Laravel routes

This package is based on https://github.com/spatie/laravel-http-logger Thanks for your great work and awesome packages!

Differences:

  • Handled as After-Middleware
  • Default-Support for Remote-Logging (via .env)
  • Added Treshold Option
  • File-Logger Fallback
  • Provide a JSON with a lot of information
  • Logs SQL queries
  • Generates unique request IDs

Usage

composer require eskju/laravel-http-logger

Publish Config

php artisan vendor:publish --provider="Eskju\HttpLogger\HttpLoggerServiceProvider" --tag="config"

Usage

Include the Middleware in your Kernel.php

protected $middleware = [
    // ...
    
    \Eskju\HttpLogger\Middlewares\HttpLogger::class
];

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-01-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固