定制 jasekiw/php-request-logger 二次开发

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

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

jasekiw/php-request-logger

Composer 安装命令:

composer require jasekiw/php-request-logger

包简介

Minimal PHP Request Logger with one require statement or composer require, you choose

README 文档

README

Build Status

Quick Temporary Usage

Copy RequestLogger.php to the entry directory of your web server. Log the request with these two lines.

<?php
require_once(__DIR__ . "/RequestLogger.php");
RequestLogger\logRequest();

Installing as a composer package

composer require jasekiw/php-request-logger

Usage

Write the current request to request_log.log where the RequestLogger.php file is located.

<?php
RequestLogger\logRequest();

If you want to write it elsewhere just pass the file path to the function.

<?php
RequestLogger\logRequest(__DIR__ . "/request_log.php");

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固