PHPackages                             todoconk/php-console-yii - 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. todoconk/php-console-yii

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

todoconk/php-console-yii
========================

Yii extension integrates Google Chrome extension PHP Console.

v1.0.0(10y ago)013PHP

Since Mar 28Pushed 10y ago1 watchersCompare

[ Source](https://github.com/todoconk/php-console-yii)[ Packagist](https://packagist.org/packages/todoconk/php-console-yii)[ RSS](/packages/todoconk-php-console-yii/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

PHP Console extension for Yii Framework
---------------------------------------

[](#php-console-extension-for-yii-framework)

This extension integrates YII with Google Chrome extension [PHP Console](https://chrome.google.com/webstore/detail/php-console/nfhmhhlpfleoednkpnnnkolmclajemef)

Requirements
------------

[](#requirements)

- PHP 5.3 (or later)
- Yii Framework v1.\* project
- Google Chrome extension [PHP Console](https://chrome.google.com/webstore/detail/php-console/nfhmhhlpfleoednkpnnnkolmclajemef)

Installation
------------

[](#installation)

1. Copy "/src/extension/phpconsole" to your extensions directory (i.e. /protected/extensions).
2. Copy "/src/vendors/PhpConsole" to your vendors directory (i.e. /protected/vendors).
3. Modify your config file (i.e. /protected/config/main.php)

Initialization &amp; configuration
----------------------------------

[](#initialization--configuration)

```
'preload' => array('log'),

'components' => array(

	'log' => array(
		'class' => 'CLogRouter',
		'routes' => array(
			'class' => 'ext.phpconsole.PhpConsoleLogRoute',
			/* Default options:
			'isEnabled' => true,
			'handleErrors' => true,
			'handleExceptions' => true,
			'sourcesBasePath' => $_SERVER['DOCUMENT_ROOT'],
			'phpConsolePathAlias' => 'application.vendors.PhpConsole.src.PhpConsole',
			'registerHelper' => true,
			'serverEncoding' => null,
			'headersLimit' => null,
			'password' => null,
			'enableSslOnlyMode' => false,
			'ipMasks' => array(),
			'dumperLevelLimit' => 5,
			'dumperItemsCountLimit' => 100,
			'dumperItemSizeLimit' => 5000,
			'dumperDumpSizeLimit' => 500000,
			'dumperDetectCallbacks' => true,
			'detectDumpTraceAndSource' => true,
			'isEvalEnabled' => false,
			*/
		)
	)
)

```

Usage
-----

[](#usage)

Try this code in some controller:

```
// log using Yii methods
Yii::log('There is some debug message');

// log using PHP Console debug method
PC::debug('Short way to debug directly in PHP Console', 'some,debug,tags');
echo $undefinedVar;

```

Resources
---------

[](#resources)

- [PHP Console homepage](https://github.com/barbushin/php-console)
- Google Chrome extension [PHP Console](https://chrome.google.com/webstore/detail/php-console/nfhmhhlpfleoednkpnnnkolmclajemef)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

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

Unknown

Total

1

Last Release

3745d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2256091?v=4)[Krikor Krikorian](/maintainers/todoconk)[@todoconk](https://github.com/todoconk)

---

Top Contributors

[![barbushin](https://avatars.githubusercontent.com/u/683352?v=4)](https://github.com/barbushin "barbushin (67 commits)")[![todoconk](https://avatars.githubusercontent.com/u/2256091?v=4)](https://github.com/todoconk "todoconk (3 commits)")[![Chi-teck](https://avatars.githubusercontent.com/u/673139?v=4)](https://github.com/Chi-teck "Chi-teck (1 commits)")[![tm1000](https://avatars.githubusercontent.com/u/564256?v=4)](https://github.com/tm1000 "tm1000 (1 commits)")

### Embed Badge

![Health badge](/badges/todoconk-php-console-yii/health.svg)

```
[![Health](https://phpackages.com/badges/todoconk-php-console-yii/health.svg)](https://phpackages.com/packages/todoconk-php-console-yii)
```

###  Alternatives

[fjogeleit/prometheus-messenger-middleware

Prometheus Middleware for the Symfony Messenger Component

2255.2k](/packages/fjogeleit-prometheus-messenger-middleware)[spatie/craft-ray

Easily debug CraftCMS projects

1638.4k](/packages/spatie-craft-ray)

PHPackages © 2026

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