Registry / utility / yiisoft-yii2-debug

yiisoft-yii2-debug

JSON →
library2.1.28phppackagistunverified

The debugger extension for the Yii framework

composer require yiisoft/yii2-debug
INSTALL
IMPORT
SIG · YIISOFT-YII2-DEBUG
Y
yiisoft-yii2-debug
utilityphpv2.1.28
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Module
use yii\debug\Module;

Configure the debug module in a Yii2 application

use yii\debug\Module; $config = [ 'bootstrap' => ['debug'], 'modules' => [ 'debug' => [ 'class' => Module::class, 'allowedIPs' => ['127.0.0.1', '::1'], ], ], ];
Debug
Known issues
breakingExposing debug toolbar in production can leak sensitive information.
fix
Restrict access via allowedIPs or disable the module in production environments.
affects: >=2.0.0
Upgrade
Version history
2.1.28latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
yiisoft-yii2-debug — pip install yiisoft-yii2-debug · libregistry