yii2-extensions / debug
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.
Package info
github.com/yii2-extensions/debug
Type:yii2-extension
pkg:composer/yii2-extensions/debug
Requires
- php: >=8.3
- composer-runtime-api: ^2.0
- ext-ctype: *
- ext-intl: *
- ext-mbstring: *
- ext-pdo: *
- symfony/mime: ^7.4
- ui-awesome/html: ^0.4
- ui-awesome/html-helper: ^0.7
- ui-awesome/html-svg: ^0.4
- yiisoft/yii2: ^2.0.56@dev || ^22.0@dev
- yiisoft/yii2-symfonymailer: ^2.0 || ^22.0@dev
Requires (Dev)
- infection/infection: ^0.33
- maglnet/composer-require-checker: ^4.1
- php-forge/baseline: ^0.1@dev
- php-forge/coding-standard: ^0.3@dev
- phpstan/extension-installer: ^1.4
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-strict-rules: ^2.0.3
- phpunit/phpunit: ^12.5
- xepozz/internal-mocker: ^1.4
- yii2-extensions/phpstan: ^0.4
- yii2-extensions/scaffold: ^0.1@dev
This package is auto-updated.
Last update: 2026-06-02 11:33:42 UTC
README
Debug
Debugger and toolbar for Yii2 applications
Pico-inspired UI, scoped CSS, light/dark mode, and 14 inspection panels
Features
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
PHP info
History
Request
Router
Logs
Database
Profiling
Timeline
Events
Queue
Queue job
Dump
Asset bundles
User
User Roles and Permissions
User Switch User
Documentation
For detailed configuration options and advanced usage.
- ๐งช Testing Guide