定制 magentron/laravel-api-logger 二次开发

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

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

magentron/laravel-api-logger

Composer 安装命令:

composer require magentron/laravel-api-logger

包简介

Laravel API logger to log responses and requests to file.

README 文档

README

Laravel 6.10.12+

Laravel component to log API requests and responses to file.

Requirements

Perhaps it works with lesser versions as well, but this is untested.

  • PHP 5.6 or above
  • Laravel 5.4 or above

Installation

Add package via composer:

composer require magentron/laravel-api-logger

For Laravel version < 5.5, edit config/app.php, add the following to the providers array:

Magentron\ApiLogger\Providers\ServiceProvider::class,

Usage

TODO

TODO

  • Use Monolog or other log writers to support other destinations than file system
  • Restrict logging to specific HTTP methods and/or URI's
  • Specify HTTP status codes to log
  • Write tests and gain 100% code coverage

Author

Jeroen Derks, a.k.a Magentron

Inspiration

This project was inspired by the following projects:

License

laravel-api-logger is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

laravel-api-logger is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with laravel-api-logger. If not, see http://www.gnu.org/licenses/.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2018-11-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固