定制 roxblnfk/yiigregator 二次开发

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

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

roxblnfk/yiigregator

Composer 安装命令:

composer require roxblnfk/yiigregator

包简介

Buggregator integration for Yii

README 文档

README

Twitter Support Discord

Integration package for Buggregator with Yii.

Installation

Install the package via composer:

composer require roxblnfk/yiigregator

If you use Yii with composer-config-plugin, the package might be configured via environment variables only.

Usage

Profiling

  1. Add the Roxblnfk\Yiigregator\Middleware\ProfilerMiddleware middleware to the top of the middlewares list (possibly in the $params['middlewares']).
  2. Turn on the profiler and set the Buggregator endpoint using environment variables:
PROFILER_ENABLED=true
PROFILER_ENDPOINT=http://127.0.0.1:8000/api/profiler/store

Note

http://127.0.0.1:8000/api/profiler/store is the default value for the Buggregator endpoint.

Note

Depending on your environment, you may need to set the PROFILER_ENDPOINT to a different value. For example, if you are using Docker, you may need to set it to http://buggregator:8000/api/profiler/store.

By default, XHProf is used for profiling. Make sure it is installed and enabled in your PHP configuration.

License

Yiigregator is open-sourced software licensed under the BSD-3 license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2024-06-12