PHPackages                             mirkhamidov/yii2-console-dbextend - 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. [Database &amp; ORM](/categories/database)
4. /
5. mirkhamidov/yii2-console-dbextend

ActiveYii2-extension[Database &amp; ORM](/categories/database)

mirkhamidov/yii2-console-dbextend
=================================

It makes to drop all your tables from console. Use it with migration and Development environment.

1.2.1(10y ago)138GPL2.0PHP

Since Nov 13Pushed 10y ago1 watchersCompare

[ Source](https://github.com/m1roff/yii2-console-dbextend)[ Packagist](https://packagist.org/packages/mirkhamidov/yii2-console-dbextend)[ Docs](https://github.com/mirkhamidov/yii2-console-dbextend)[ RSS](/packages/mirkhamidov-yii2-console-dbextend/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (4)Dependencies (1)Versions (7)Used By (0)

Yii2 DB extenstion
==================

[](#yii2-db-extenstion)

Extends console commands with DB.

Install
-------

[](#install)

Recommended by composer

```
composer require mirkhamidov/yii2-console-dbextend=*

```

Usage
-----

[](#usage)

in a console

```
./yii dbex/drop-all-tables

```

after that, in console config file

```
'modules' => [
    ...
    'dbex' => 'mirkhamidov\DbexBootstrapClass',
    ...
],

```

Connections
-----------

[](#connections)

Packagist:

Changelog
---------

[](#changelog)

`1.1.0`

- `interactive` parametr added;

`1.0.0`

- `drop-all-tables` action created;
- this extenstion created

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~12 days

Total

6

Last Release

3771d ago

### Community

Maintainers

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

---

Top Contributors

[![m1roff](https://avatars.githubusercontent.com/u/2736223?v=4)](https://github.com/m1roff "m1roff (8 commits)")

---

Tags

consolemigrationdatabaseyii2extension

### Embed Badge

![Health badge](/badges/mirkhamidov-yii2-console-dbextend/health.svg)

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

###  Alternatives

[dmstr/yii2-migrate-command

Console Migration Command with multiple paths/aliases support

31295.5k6](/packages/dmstr-yii2-migrate-command)[johnitvn/yii2-ajaxcrud

Gii CRUD template for Single Page Ajax Administration for yii2

97209.6k16](/packages/johnitvn-yii2-ajaxcrud)[dmstr/yii2-db

Database extensions

19618.8k6](/packages/dmstr-yii2-db)[hzhihua/yii2-dump

Generate the schema from an existing database

1828.5k1](/packages/hzhihua-yii2-dump)[mg-code/yii2-helpers

A collection of useful helper classes for Yii framework 2.0

2022.5k5](/packages/mg-code-yii2-helpers)

PHPackages © 2026

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