yagas/yii2-debug4mongo 问题修复 & 功能扩展

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

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

yagas/yii2-debug4mongo

最新稳定版本:v0.0.4

Composer 安装命令:

composer require yagas/yii2-debug4mongo

包简介

Yii2 Debug for MongoDB

README 文档

README

Yii 2 Debug For MongoDB


本项目为yii2-debug的扩展,使用MongoDB对debug数据进行存储。

目录结构

  src/                 代码目录
  src/models/          数据模型
  src/views/           视图文件
  src/controllers/     控制器

安装依赖

  • PHP支持>=5.4
  • yii2-mongodb
  • yii2-debug支持>=2.1.25(基于此版本构建而来)

安装说明

composer require yagas/yii2-debug4mongo

配置说明

if (YII_ENV_DEV) {
    $config['bootstrap'][] = 'debug';
    $config['modules']['debug'] = [
        'class' => 'yagas\debug\Module',
        'logTarget' => [
            'class' => 'yagas\debug\LogTarget',
            'app_no' => 'localhost_001', // 为当前站点设定标识
        ],
        'percent' => 10, // 百分之十的几率清除历史数据(GC)
    ];
}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-06-21