michelmelo/laravel-request-logging 问题修复 & 功能扩展

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

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

michelmelo/laravel-request-logging

最新稳定版本:1.0.3

Composer 安装命令:

composer require michelmelo/laravel-request-logging

包简介

Write all incoming requests and there responses

README 文档

README

Screenshot of a comment on a GitHub issue showing an image, added in the Markdown, of an Octocat smiling and raising a tentacle.

This Laravel package contains middleware to log requests and there responses including all parameters.

Installation

You can install using composer

composer require michelmelo/laravel-request-logging

Next step is to add the middleware in your app/Http/Kernel.php file.

Add the request logging to all routes:

protected $middleware = [
    ...
    \MichelMelo\RequestLogging\LogRequest::class,
    ...
];

Or you only for specific route(group)s.

protected $routeMiddleware = [
    ...
    'logRequest' => \MichelMelo\RequestLogging\LogRequest::class,
    ...
];

Finally, although optionally, you can publish the configuration file:

php artisan vendor:publish --provider="MichelMelo\RequestLogging\RequestLoggingServiceProvider"

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-11-16