承接 aleddev/dashlog 相关项目开发

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

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

aleddev/dashlog

Composer 安装命令:

composer require aleddev/dashlog

包简介

A request monitoring and logging package for Laravel

README 文档

README

A request monitoring and logging package for Laravel.

Installation

composer require aleddev/dashlog

Configuration

php artisan vendor:publish --provider="AledDev\DashLog\Infrastructure\Providers\DashLogServiceProvider"

Middleware

php artisan vendor:publish --provider="AledDev\DashLog\Infrastructure\Providers\DashLogServiceProvider"

Migrations

php artisan migrate

Usage

  • Now you have a middleware that will log the request and response, you can use it in the routes that you want to monitor.
  • To access the dashboard, you can go to your-domain.com/dashlog and see the requests that have been made. ( We recommend you to have a middleware for this route )

Recomendations

  • Use the middleware in the routes that you want to monitor.
  • Configure the routes that you want to monitor in the config/dashlog.php file.
  • If you want to make use of the AI analysis, you need to configure the AIML_API_KEY in the .env file.

AI Analysis

The AI analysis is optional and is not enabled by default. If you want to make use of the AI analysis, you need to configure the AIML_API_KEY in the .env file. We use the AIML API to analyze the request logs, because it offers a free plan for low requests, if you want to use another provider, you will need to implement your own.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-02-25