PHPackages                             yii2-extensions/debug - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. yii2-extensions/debug

ActiveYii2-extension[Debugging &amp; Profiling](/categories/debugging)

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.

0.1.1(1mo ago)34.5k1BSD-3-ClausePHPPHP &gt;=8.3CI passing

Since May 18Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/yii2-extensions/debug)[ Packagist](https://packagist.org/packages/yii2-extensions/debug)[ RSS](/packages/yii2-extensions-debug/feed)WikiDiscussions main Synced yesterday

READMEChangelog (2)Dependencies (18)Versions (17)Used By (0)

    ![Yii Framework](https://camo.githubusercontent.com/f390171a839a7620dea19acb5fc1fb87f9226e65910c577f99803347ce48336a/68747470733a2f2f7777772e7969696672616d65776f726b2e636f6d2f696d6167652f64657369676e2f6c6f676f2f796969335f66756c6c5f666f725f6c696768742e737667)

Debug
=====

[](#debug)

 [ ![PHPUnit](https://camo.githubusercontent.com/6c98e1e1f07ec068fc6c7cfa337e9dc0da417af147607b9e347ccd6cdb067bf9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f796969322d657874656e73696f6e732f64656275672f6275696c642e796d6c3f7374796c653d666f722d7468652d6261646765266c6162656c3d504850556e6974266c6f676f3d676974687562) ](https://github.com/yii2-extensions/debug/actions/workflows/build.yml) [ ![Mutation Testing](https://camo.githubusercontent.com/d42757d31a36eec6b121c8fcb80378b695a691b5971fb2b2f662d416d0bd845b/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666f722d7468652d62616467652675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d253246796969322d657874656e73696f6e7325324664656275672532466d61696e) ](https://dashboard.stryker-mutator.io/reports/github.com/yii2-extensions/debug/main) [ ![PHPStan](https://camo.githubusercontent.com/7643b01aa972f7879c5c9c3b16f569ea792d17675732d8f9de5490bb218b75f9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f796969322d657874656e73696f6e732f64656275672f7374617469632e796d6c3f7374796c653d666f722d7468652d6261646765266c6162656c3d5048505374616e266c6f676f3d676974687562) ](https://github.com/yii2-extensions/debug/actions/workflows/static.yml)

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

   ![Debug toolbar](docs/images/home-light.png)Features
--------

[](#features)

  ![Feature Overview](./docs/svgs/features-mobile.svg)Quick start
-----------

[](#quick-start)

### Installation

[](#installation)

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

### Basic Usage

[](#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
-----------

[](#screenshots)

Configuration   ![Configuration panel](docs/images/config-light.png)PHP info   ![PHP info panel](docs/images/phpinfo-light.png)History   ![History panel](docs/images/history-light.png)Request   ![Request panel](docs/images/request-light.png)Router   ![Router panel](docs/images/router-light.png)Logs   ![Logs panel](docs/images/log-light.png)Database   ![Database panel](docs/images/database-light.png)Profiling   ![Profiling panel](docs/images/profiling-light.png)Timeline   ![Timeline panel](docs/images/timeline-light.png)Events   ![Events panel](docs/images/event-light.png)Mail   ![Mail panel](docs/images/mail-light.png)Queue   ![Queue panel](docs/images/queue-light.png)Queue job   ![Queue job detail](docs/images/queue-job-light.png)Dump   ![Dump panel](docs/images/dump-light.png)Asset bundles   ![Asset bundles panel](docs/images/asset-bundles-light.png)User   ![User panel](docs/images/user-light.png)User Roles and Permissions   ![User panel — Roles and Permissions](docs/images/user-roles-light.png)User Switch User   ![User panel — Switch User](docs/images/user-switch-light.png)Documentation
-------------

[](#documentation)

For detailed configuration options and advanced usage.

- 🧪 [Testing Guide](docs/testing.md)

Package information
-------------------

[](#package-information)

[![PHP](https://camo.githubusercontent.com/f04357fef9ebcd99ed76d5414552bcd1ce849df0ee1d4faf8e991f54c966d508/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f253345253344382e332d3737374242342e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d706870266c6f676f436f6c6f723d7768697465)](https://www.php.net/releases/8.3/en.php)[![Yii 2.0.x](https://camo.githubusercontent.com/149daa5b9e1bfc917bac8e4b81f289e4e671e5d76cc9d9365df67660839b4eaf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f64796e616d69632f6a736f6e2e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d796969266c6f676f436f6c6f723d776869746526636f6c6f723d303037334141266c6162656c3d2675726c3d68747470732533412532462532467265706f2e7061636b61676973742e6f72672532467032253246796969736f6674253246796969322e6a736f6e2671756572793d2532342e7061636b61676573253542253237796969736f667425324679696932253237253544253542302535442e76657273696f6e)](https://packagist.org/packages/yiisoft/yii2)[![Yii 22.0.x](https://camo.githubusercontent.com/6419cb138fb08a8fcb971e8e780bed42fdb74f683a39b22ca0cd2059f246ce43/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f32322e302e782d3030373341412e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d796969266c6f676f436f6c6f723d7768697465)](https://github.com/yiisoft/yii2/tree/22.0)[![Latest Stable Version](https://camo.githubusercontent.com/bac451f2630510869dc5e214e373267b225dab57aacfaf238446b65503d630bd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f796969322d657874656e73696f6e732f64656275672e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d7061636b6167697374266c6f676f436f6c6f723d7768697465266c6162656c3d537461626c65)](https://packagist.org/packages/yii2-extensions/debug)[![Total Downloads](https://camo.githubusercontent.com/00ce9ddcd34efc391da2f3db807fe212dbd505fd0adb8a2ad6cdf648eaab549b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f796969322d657874656e73696f6e732f64656275672e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d636f6d706f736572266c6f676f436f6c6f723d7768697465266c6162656c3d446f776e6c6f616473)](https://packagist.org/packages/yii2-extensions/debug)

Quality code
------------

[](#quality-code)

[![Codecov](https://camo.githubusercontent.com/02e182da04936a49daea42ebeaed92499e6fbb63bee74516d50e755ef7346b83/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f796969322d657874656e73696f6e732f64656275672e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d636f6465636f76266c6f676f436f6c6f723d7768697465266c6162656c3d436f766572616765)](https://codecov.io/github/yii2-extensions/debug)[![PHPStan Level Max](https://camo.githubusercontent.com/b1aeb44257ce46737d1787123b534aab9dded28219f828e4ae13a1e3b460f53c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d4c6576656c2532304d61782d3446354439352e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d676974687562266c6f676f436f6c6f723d7768697465)](https://github.com/yii2-extensions/debug/actions/workflows/static.yml)[![Super-Linter](https://camo.githubusercontent.com/a66caec7c1516b7a295c5407cf653d143a5fdb106c77a34d75b1b211dde9396a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f796969322d657874656e73696f6e732f64656275672f6c696e7465722e796d6c3f7374796c653d666f722d7468652d6261646765266c6162656c3d53757065722d4c696e746572266c6f676f3d676974687562)](https://github.com/yii2-extensions/debug/actions/workflows/linter.yml)[![StyleCI](https://camo.githubusercontent.com/2e44ba381d6c9ab95b548566772bd17337dc56f8a6a646974bf7277720e5be9d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5374796c6543492d5061737365642d3434434331312e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d676974687562266c6f676f436f6c6f723d7768697465)](https://github.styleci.io/repos/yii2-extensions/debug?branch=main)

Our social networks
-------------------

[](#our-social-networks)

[![Follow on X](https://camo.githubusercontent.com/332c1b1e043dfb940b95825f7863dc473f6924ddacdd6738cbbbba08f49e1862/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d466f6c6c6f772532306f6e253230582d3144413146322e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d78266c6f676f436f6c6f723d7768697465266c6162656c436f6c6f723d303030303030)](https://x.com/Terabytesoftw)[![Follow on Facebook](https://camo.githubusercontent.com/cf3626d10c7f8f458bd6bf8d8263cc6d017d3c77e1386237fc8358f3f336d09b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d466f6c6c6f772532306f6e25323046616365626f6f6b2d3138373746322e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d66616365626f6f6b266c6f676f436f6c6f723d7768697465266c6162656c436f6c6f723d303030303030)](https://www.facebook.com/wilmer.arambula.9)[![Join our Subreddit](https://camo.githubusercontent.com/608690618d3c7c3a93ceafa189456192613ac73476c4a1dfc0ce66909cad46b2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4a6f696e2532306f75722532305375627265646469742d4646343530302e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d726564646974266c6f676f436f6c6f723d7768697465266c6162656c436f6c6f723d303030303030)](https://www.reddit.com/r/Yii2/)[![Join on Telegram](https://camo.githubusercontent.com/0b24a0630e0cd56aaa8a4dac93eee6b44cd7b74c0402ef53a5fe7b212951b296/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4a6f696e2532306f6e25323054656c656772616d2d3236413545342e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d74656c656772616d266c6f676f436f6c6f723d7768697465266c6162656c436f6c6f723d303030303030)](https://t.me/yii_framework_in_english)

License
-------

[](#license)

[![License](https://camo.githubusercontent.com/680c8d62ba2d5a71d7099b6e81114fb0b22d99086c121fd178e1149afc669d44/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4253442d2d332d2d436c617573652d627269676874677265656e2e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d6f70656e736f75726365696e6974696174697665266c6f676f436f6c6f723d7768697465266c6162656c436f6c6f723d353535353535)](LICENSE)

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance92

Actively maintained with recent releases

Popularity26

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

46d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/524d2b46690f41fce7188d369488a35e7624e6c5a264d82aacd08548bfd156ab?d=identicon)[terabytesoftw](/maintainers/terabytesoftw)

---

Top Contributors

[![terabytesoftw](https://avatars.githubusercontent.com/u/42547589?v=4)](https://github.com/terabytesoftw "terabytesoftw (34 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

database-profilingdebugdebug-toolbardebuggerdeveloper-toolsphpprofilingrequest-inspectortimelineyii2yii2-extensionphpdebugprofilingdebuggeryii2timelineyii2-extensiondeveloper-toolsdebug-toolbardatabase-profilingrequest-inspector

###  Code Quality

TestsPHPUnit

Type Coverage Yes

### Embed Badge

![Health badge](/badges/yii2-extensions-debug/health.svg)

```
[![Health](https://phpackages.com/badges/yii2-extensions-debug/health.svg)](https://phpackages.com/packages/yii2-extensions-debug)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[symfony/web-profiler-bundle

Provides a development tool that gives detailed information about the execution of any request

2.3k160.5M1.2k](/packages/symfony-web-profiler-bundle)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
