PHPackages                             simpletree/yii2phpconsole - 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. [CLI &amp; Console](/categories/cli)
4. /
5. simpletree/yii2phpconsole

ActiveYii2-extension[CLI &amp; Console](/categories/cli)

simpletree/yii2phpconsole
=========================

Php-console extension for Yii 2.

1161

Since Nov 19Pushed 12y ago1 watchersCompare

[ Source](https://github.com/jakobrosenberg/yii2phpconsole)[ Packagist](https://packagist.org/packages/simpletree/yii2phpconsole)[ RSS](/packages/simpletree-yii2phpconsole/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

yii2phpconsole
==============

[](#yii2phpconsole)

**Php Console extension for Yii2**

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

[](#installation)

**composer.json**

```
{
  "require": {
      "simpletree/yii2phpconsole": "dev-master"
  }
}

```

**config/main.php**

```
  'preload' => ['phpconsole'],
  ...
  'components' => [
    ...
    'phpconsole' => [
        'class' => '\Simpletree\Phpconsole\Phpconsole',
        'registerGlobal' => true,   //optional, defaults to true
        'password' => '1234'        //optional, defaults to '1234'
    ],
    ...
  ]

```

Usage
-----

[](#usage)

**With globals**

```
PC::debug($var, 'tag');
PC::tag($var);

```

**Without globals**

```
PhpConsole\Handler::getInstance()->debug($var, 'some.tags');

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

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://avatars.githubusercontent.com/u/4153004?v=4)[Jakob Rosenberg](/maintainers/jakobrosenberg)[@jakobrosenberg](https://github.com/jakobrosenberg)

---

Top Contributors

[![jakobrosenberg](https://avatars.githubusercontent.com/u/4153004?v=4)](https://github.com/jakobrosenberg "jakobrosenberg (9 commits)")

### Embed Badge

![Health badge](/badges/simpletree-yii2phpconsole/health.svg)

```
[![Health](https://phpackages.com/badges/simpletree-yii2phpconsole/health.svg)](https://phpackages.com/packages/simpletree-yii2phpconsole)
```

###  Alternatives

[illuminate/console

The Illuminate Console package.

13046.0M6.3k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71464.1k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20718.9k21](/packages/winbox-args)

PHPackages © 2026

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