承接 yii2-extensions/worker-debug 相关项目开发

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

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

yii2-extensions/worker-debug

Composer 安装命令:

composer require yii2-extensions/worker-debug

包简介

Debug toolbar for extension PSR Bridge.

README 文档

README

Yii Framework

Worker Debug


PHPUnit Mutation Testing PHPStan

Enhanced debugging capabilities for Yii2 applications with FrankenPHP worker mode
Real-time performance monitoring, comprehensive request inspection, and worker-aware debugging

Features

Feature Overview

Demo

Template

Explore the ready-to-run Yii2 + FrankenPHP application template with Worker Debug pre-configured.

Installation

composer require --dev yii2-extensions/worker-debug:^0.1

Quick start

Add the following to your development configuration (config/web.php)

<?php

declare(strict_types=1);

use yii2\extensions\debug\WorkerDebugModule;

if (YII_ENV_DEV) {
    // configuration adjustments for 'dev' environment
    $config['bootstrap'][] = 'debug';
    $config['modules']['debug'] = [
        'class' => WorkerDebugModule::class,
        // uncomment the following to add your IP if you are not connecting from localhost.
        //'allowedIPs' => ['127.0.0.1', '::1'],
    ];
}

Important

The Worker Debug extension is specifically designed for development environments.
Never enable it in production as it may expose sensitive application data.

Why Worker Debug?

Traditional Yii2 debug toolbar relies on PHP's global state and request lifecycle that doesn't align with FrankenPHP's persistent worker mode. The Worker Debug extension addresses this by:

  • Accurate Timing – Correctly tracks request duration in worker environments
  • State Isolation – Ensures debug data doesn't leak between requests
  • Performance Optimization – Minimal overhead on worker processes
  • Enhanced Visibility – Better insights into worker-specific behavior

Documentation

For detailed configuration options and advanced usage.

Package information

PHP Yii 2.0.x Yii 22.0.x Latest Stable Version Total Downloads

Quality code

Codecov PHPStan Level Max Super-Linter StyleCI

Our social networks

Follow on X

License

License

yii2-extensions/worker-debug 适用场景与选型建议

yii2-extensions/worker-debug 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2.74k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2025 年 08 月 16 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「debug」 「toolbar」 「yii2-extension」 「psr-bridge」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 yii2-extensions/worker-debug 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 yii2-extensions/worker-debug 我们能提供哪些服务?
定制开发 / 二次开发

基于 yii2-extensions/worker-debug 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2025-08-16