PHPackages                             efureev/yii2-recover-innodb-table - 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. efureev/yii2-recover-innodb-table

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

efureev/yii2-recover-innodb-table
=================================

Yii2 component for recovering an innodb table from only an \*.ibd file

v0.1.2(10y ago)011[1 issues](https://github.com/efureev/yii2-recover-innodb-table/issues)MITPHP

Since Jun 1Pushed 10y ago1 watchersCompare

[ Source](https://github.com/efureev/yii2-recover-innodb-table)[ Packagist](https://packagist.org/packages/efureev/yii2-recover-innodb-table)[ RSS](/packages/efureev-yii2-recover-innodb-table/feed)WikiDiscussions master Synced 4w ago

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

Recovering an InnoDB table from only an \*.ibd file for Yii 2
=============================================================

[](#recovering-an-innodb-table-from-only-an-ibd-file-for-yii-2)

[![Latest Stable Version](https://camo.githubusercontent.com/20a2dc3acd0092cd4ac9420d8a0bfdb258874789b65fcf8914e1436c0b61b550/68747470733a2f2f706f7365722e707567782e6f72672f656675726565762f796969322d7265636f7665722d696e6e6f64622d7461626c652f762f737461626c65)](https://packagist.org/packages/efureev/yii2-recover-innodb-table)[![Total Downloads](https://camo.githubusercontent.com/30921842ab690c4f44d3e4a03ac2f2d200741cd7d542603f2ced698e2ba56908/68747470733a2f2f706f7365722e707567782e6f72672f656675726565762f796969322d7265636f7665722d696e6e6f64622d7461626c652f646f776e6c6f616473)](https://packagist.org/packages/efureev/yii2-recover-innodb-table)[![Latest Unstable Version](https://camo.githubusercontent.com/6d0bfad88eec8d65ee281ab5662827158ff508e0fb0d770518600edb67dd02c3/68747470733a2f2f706f7365722e707567782e6f72672f656675726565762f796969322d7265636f7665722d696e6e6f64622d7461626c652f762f756e737461626c65)](https://packagist.org/packages/efureev/yii2-recover-innodb-table)[![License](https://camo.githubusercontent.com/9e1603c692d300ab051d72f103dec226a1523d2d8d591baced5921cf7e176578/68747470733a2f2f706f7365722e707567782e6f72672f656675726565762f796969322d7265636f7665722d696e6e6f64622d7461626c652f6c6963656e7365)](https://packagist.org/packages/efureev/yii2-recover-innodb-table)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --dev --prefer-dist efureev/yii2-recover-innodb-table:"~0.1.0"

```

or add

```
"efureev/yii2-recover-innodb-table": "~0.1.0"
```

to the `require-dev` section of your `composer.json`.

Usage
-----

[](#usage)

To use this extension, simply add the following code in your application configuration (console.php):

```
'controllerMap' => [
    'utilsdb' => [
        'class' => 'efureev\utilsdb\recoverinnodb\RecoverController',
    ],
],
```

Recovering (Exp., database name `dbase`):
-----------------------------------------

[](#recovering-exp-database-name-dbase)

1. Backup original db (Exp.: `/usr/var/mysql/dbase/`) to other dir (Exp.: `/usr/var/mysql/dbase_bak`)
2. Delete original db
3. Create new db with the same name (Exp.: `/usr/var/mysql/dbase/`)
4. Create same structure as the original
5. Run script: `./yii utilsdb/repair-table /usr/var/mysql/dbase /usr/var/mysql/dbase_bak`

```
# to start recover db
php yii utilsdb/repair-table

```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

3681d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/62a6e061d1ccab4d5de8dcba717b7634f91e4842b32ca26420b8261c66104bf7?d=identicon)[efureev](/maintainers/efureev)

---

Top Contributors

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

---

Tags

dbyii2InnoDBrecover

### Embed Badge

![Health badge](/badges/efureev-yii2-recover-innodb-table/health.svg)

```
[![Health](https://phpackages.com/badges/efureev-yii2-recover-innodb-table/health.svg)](https://phpackages.com/packages/efureev-yii2-recover-innodb-table)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[dmstr/yii2-db

Database extensions

19656.2k6](/packages/dmstr-yii2-db)[sjaakp/yii2-spatial

Yii2 ActiveRecord supporting MySQL spatial data

1877.2k1](/packages/sjaakp-yii2-spatial)[mg-code/yii2-helpers

A collection of useful helper classes for Yii framework 2.0

2023.1k5](/packages/mg-code-yii2-helpers)[mhthnz/yii2-tarantool

Tarantool connector for yii2 framework. Allows to perform SQL and NoSQL queries, ActiveRecord, Schemas and more.

121.0k](/packages/mhthnz-yii2-tarantool)

PHPackages © 2026

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