承接 cavin-kim/laravel-terminal-logger 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

cavin-kim/laravel-terminal-logger

最新稳定版本:v1.1.7

Composer 安装命令:

composer require cavin-kim/laravel-terminal-logger

包简介

A Laravel package to log all http requests, queries, and views in the terminal.

README 文档

README

laravel-terminal-logger:

Laravel Terminal Logger

A lightweight Laravel package to log HTTP requests, responses, database queries, and rendered views directly to the terminal or log files.

Features

  • Logs detailed HTTP requests (method, URL, headers, body).
  • Logs HTTP responses (status code, content).
  • Logs all database queries with execution time.
  • Logs rendered views with associated data.
  • Easy installation and configuration.

Installation

  1. Install the package via Composer:

    composer require cavin-kim/laravel-terminal-logger
  2. Publish the configuration file:

    php artisan vendor:publish --tag=config
  3. Start your Laravel server:

    php artisan serve

Configuration

You can customize logging behavior by editing config/terminal-logger.php:

return [
    'log_requests' => true,
    'log_responses' => true,
    'log_queries' => true,
    'log_views' => true,
];

Usage

Once installed, the package will automatically log everything based on your configuration. No additional setup is required.

Support

If you encounter any issues or have suggestions, feel free to open an issue on the GitHub repository.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-03-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固