yiisoft/yii-debug

Yii Framework Debug Panel Extension

Package info

github.com/yiisoft/yii-debug

Chat

Forum

Wiki

pkg:composer/yiisoft/yii-debug

Fund package maintenance!

Opencollective

yiisoft

Statistics

Installs: 386 544

Dependents: 29

Suggesters: 1

Stars: 32

Open Issues: 16

dev-master 2025-12-06 22:21 UTC

Suggests

None

Provides

None

Conflicts

None

Replaces

None

BSD-3-Clause 54c57b5c745a11a69e1b7925379900fed6656968

debugdebuggeryii


README

👁 Yii

Yii Debug Extension


👁 Latest Stable Version
👁 Total Downloads
👁 Build status
👁 Code coverage
👁 Mutation testing badge
👁 static analysis
👁 type-coverage

This extension provides a debugger for Yii framework applications. When this extension is used, a debugger toolbar will appear at the bottom of every page. The extension also provides a set of standalone pages to display more detailed debug information.

Requirements

  • PHP 8.1 or higher.

Installation

The package could be installed with Composer:

composer require yiisoft/yii-debug --dev

The debug extension also can be installed without the --dev flag if you want to collect data in production. Specify the necessary collectors only to reduce functions overriding and improve performance.

General usage

Once the extension is installed, modify your config/common/params.php as follows:

return [
 'yiisoft/yii-debug' => [
 'enabled' => true,
 ],
 // ...
];

All included collectors start listen and collect payloads from each HTTP request or console run.

Install both yiisoft/yii-debug-api and yiisoft/yii-dev-panel to be able to interact with collected data through UI.

Documentation

If you need help or have a question, the Yii Forum is a good place for that. You may also check out other Yii Community Resources.

License

The Yii Debug Extension is free software. It is released under the terms of the BSD License. Please see LICENSE for more information.

Maintained by Yii Software.

Support the project

👁 Open Collective

Follow updates

👁 Official website
👁 Twitter
👁 Telegram
👁 Facebook
👁 Slack