Debug toolbar and debugger panels for Yii2: requests, logs, queries, profiling, timeline, queue, mail, events, asset bundles, and user switching with a Vite-built dependency-free UI.

Maintainers

Package info

github.com/yii2-extensions/debug

Type:yii2-extension

pkg:composer/yii2-extensions/debug

Statistics

Installs: 4 380

Dependents: 3

Suggesters: 0

Stars: 3

Open Issues: 0

0.1.1 2026-05-18 14:41 UTC

This package is auto-updated.

Last update: 2026-06-02 11:33:42 UTC


README

Yii Framework

Debug


PHPUnit Mutation Testing PHPStan

Debugger and toolbar for Yii2 applications
Pico-inspired UI, scoped CSS, light/dark mode, and 14 inspection panels

Debug toolbar

Features

Feature Overview

Quick start

Installation

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

Basic Usage

Enable the debug module in your application configuration (config/web.php).

if (YII_ENV_DEV) {
    $config['bootstrap'][] = 'debug';
    $config['modules']['debug'] = [
        'class' => \yii\debug\Module::class,
        'allowedIPs' => ['127.0.0.1', '::1'],
    ];
}

The toolbar appears at the bottom of every rendered page; click any panel chip to open the full debugger.

Screenshots

Configuration Configuration panel
PHP info PHP info panel
History History panel
Request Request panel
Router Router panel
Logs Logs panel
Database Database panel
Profiling Profiling panel
Timeline Timeline panel
Events Events panel
Mail Mail panel
Queue Queue panel
Queue job Queue job detail
Dump Dump panel
Asset bundles Asset bundles panel
User User panel
User Roles and Permissions User panel โ€” Roles and Permissions
User Switch User User panel โ€” Switch User

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 Follow on Facebook Join our Subreddit Join on Telegram

License

License