yii2-extensions/worker-debug

Debug toolbar for extension PSR Bridge.

0.1.1 2025-08-17 12:29 UTC

This package is auto-updated.

Last update: 2025-08-19 18:20:41 UTC


README

Yii Framework

Debug toolbar for the Yii2 PSR Bridge extension.


PHP Version Yii2 2.0.53 Yii2 22.0 PHPUnit Mutation Testing Static Analysis

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

  • PHP 8.1 or higher.
  • Composer for dependency management.
  • Yii2 2.0.53+ or 22.x.

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.

Quality code

Latest Stable Version Total Downloads codecov phpstan-level StyleCI

Our social networks

X

License

License