PHPackages                             asolomatin/php-console-yii2 - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. asolomatin/php-console-yii2

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

asolomatin/php-console-yii2
===========================

PhpConsole wrapper for Yii2

01.4k1PHP

Since Aug 21Pushed 8y ago1 watchersCompare

[ Source](https://github.com/ASolomatin/php-console-yii2)[ Packagist](https://packagist.org/packages/asolomatin/php-console-yii2)[ RSS](/packages/asolomatin-php-console-yii2/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

php-console-yii2
================

[](#php-console-yii2)

PhpConsole wrapper for Yii 2

Based on

Configuration Example
=====================

[](#configuration-example)

Into common/main.php 'components' =&gt; \[ 'phpconsole' =&gt; \[ 'class' =&gt; '\\nilsburg\\PhpConsole\\PhpConsole', 'isEvalEnabled' =&gt; true, 'password' =&gt; 'some\_password' \], \]

Usage (Eval)
============

[](#usage-eval)

```
public function beforeAction($action)
{
    if ($action->id === 'index') {
        $this->enableCsrfValidation = false;
    }
    return parent::beforeAction($action);
}

public function actionIndex()
{
    $console = \Yii::$app->phpconsole;
    unset($console);
    return $this->render('index');
}

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.3% 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/54a5f58350e2aa4c12174644a9722ee4c58ce0bcc55df98023a8216a97b6da68?d=identicon)[Aleksej Solomatin](/maintainers/Aleksej%20Solomatin)

---

Top Contributors

[![nvanderburg](https://avatars.githubusercontent.com/u/73654874?v=4)](https://github.com/nvanderburg "nvanderburg (8 commits)")[![ASolomatin](https://avatars.githubusercontent.com/u/10348041?v=4)](https://github.com/ASolomatin "ASolomatin (5 commits)")[![nilsburg](https://avatars.githubusercontent.com/u/1023621?v=4)](https://github.com/nilsburg "nilsburg (2 commits)")

### Embed Badge

![Health badge](/badges/asolomatin-php-console-yii2/health.svg)

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

###  Alternatives

[monsoonconsulting/magento2-pwa

Adds a service worker to Magento2 to enable PWA features.

2322.9k](/packages/monsoonconsulting-magento2-pwa)[yii2mod/yii2-selectize

selectize.js wrapper for yii2

1730.7k1](/packages/yii2mod-yii2-selectize)

PHPackages © 2026

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