PHPackages                             crisu83/yii-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. crisu83/yii-debug

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

crisu83/yii-debug
=================

Debugging tools for the Yii PHP framework.

19.7k3PHP

Since Jun 27Pushed 12y ago1 watchersCompare

[ Source](https://github.com/Crisu83/yii-debug)[ Packagist](https://packagist.org/packages/crisu83/yii-debug)[ RSS](/packages/crisu83-yii-debug/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

yii-debug
=========

[](#yii-debug)

Debugging tools for the Yii PHP framework.

Configuration
-------------

[](#configuration)

Add the debug command to your console config file (usually **protected/config/console.php**):

```
// console application configuration
return array(
    .....
    'commandMap' => array(
        'debug' => array(
            'class' => 'path.alias.to.DebugCommand',
            'runtimePath' => 'application.runtime', // the path to the application runtime folder
        ),
    ),
);
```

***console.php***

Update your entry script (usually **index.php**) to use the Debugger:

```
$debugger = __DIR__ . '/path/to/Debugger.php';
$yii = __DIR__ . '/path/to/yii.php';

require_once($debugger);

Debugger::init(__DIR__ . '/protected/runtime/debug');

require_once($yii);
```

***index.php***

Usage
-----

[](#usage)

To enable debugging with the following command:

```
yiic debug on

```

You can also enable debugging for a specific ip address (replace `{ip-address}` with the desired ip address):

```
yiic debug on {ip-address}

```

To turn of debugging mode, simply run the following command:

```
yiic debug off

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ab3becb3323ceb956c661f3e6ef4312dcd00ec4ba03d1bba5fcef793f5c4286d?d=identicon)[crisu83](/maintainers/crisu83)

---

Top Contributors

[![cniska](https://avatars.githubusercontent.com/u/1044868?v=4)](https://github.com/cniska "cniska (6 commits)")

### Embed Badge

![Health badge](/badges/crisu83-yii-debug/health.svg)

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

###  Alternatives

[symfony/stopwatch

Provides a way to profile code

2.8k387.2M918](/packages/symfony-stopwatch)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[spatie/ignition

A beautiful error page for PHP applications.

510147.6M69](/packages/spatie-ignition)[jokkedk/webgrind

Webgrind is a Xdebug profiling web frontend in PHP5. It implements a subset of the features of kcachegrind and installs in seconds and works on all platforms. For quick'n'dirty optimizations it does the job.

3.3k193.0k](/packages/jokkedk-webgrind)[koriym/printo

An object graph visualizer.

1421.8M2](/packages/koriym-printo)[soloterm/dumps

A Laravel command to intercept dumps from your Laravel application.

125285.7k3](/packages/soloterm-dumps)

PHPackages © 2026

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