Skip to content

yii2-extensions/worker-debug

Yii Framework

Debug toolbar for the Yii2 PSR Bridge extension.


PHP version Yii 2.0.x Yii 22.0.x PHPUnit Mutation Testing PHPStan

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.

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

Quick start

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.

Package information

Latest Stable Version Total Downloads

Quality code

codecov phpstan-level StyleCI

Our social networks

Follow on X

License

License

About

Debug toolbar for extension PSR Bridge.

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages