yii2-extensions / worker-debug
Debug toolbar for extension PSR Bridge.
Fund package maintenance!
terabytesoftw
Requires
- php: >=8.1
- psr/http-factory: ^1.1
- yiisoft/yii2: ^2.0.53|^22
- yiisoft/yii2-debug: ^2.1.27
Requires (Dev)
- infection/infection: ^0.27|^0.31
- maglnet/composer-require-checker: ^4.1
- php-forge/support: ^0.1
- phpstan/extension-installer: ^1.4
- phpstan/phpstan-strict-rules: ^2.0.3
- phpunit/phpunit: ^10.5
- rector/rector: ^2.1
- symplify/easy-coding-standard: ^12.5
- xepozz/internal-mocker: ^1.4
- yii2-extensions/phpstan: ^0.3
This package is auto-updated.
Last update: 2025-08-19 18:20:41 UTC
README
Debug toolbar for the Yii2 PSR Bridge extension.
A specialized debug toolbar extension that provides enhanced debugging capabilities for Yii2 applications using the PSR Bridge, offering comprehensive insights into application execution, performance metrics, and component interactions.
Features
✅ Enhanced Debug Toolbar
- Real-time performance monitoring and metrics collection.
Quick start
System requirements
Installation
Method 1: Using Composer (recommended)
Install the extension.
composer require yii2-extensions/worker-debug:^0.1
Method 2: Manual installation
Add to your composer.json
.
{ "require": { "yii2-extensions/worker-debug": "^0.1" } }
Then run.
composer update
Basic Usage
Add the following code to your configuration file (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'], ]; }
Documentation
For testing guidance, see.