PHPackages                             vnukga/yii2-migration-generator - 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. vnukga/yii2-migration-generator

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

vnukga/yii2-migration-generator
===============================

Allows to generate migrations from scheme inexternal sources, such as Google Spreadsheets, using console.

v1.0.0(6y ago)04MITPHP

Since Jul 4Pushed 6y agoCompare

[ Source](https://github.com/vnukga/yii2-migration-generator)[ Packagist](https://packagist.org/packages/vnukga/yii2-migration-generator)[ RSS](/packages/vnukga-yii2-migration-generator/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Yii2-based generator for creating migrations from external sources
==================================================================

[](#yii2-based-generator-for-creating-migrations-from-external-sources)

Allows to generate migrations from scheme inexternal sources, such as Google Spreadsheets, using console.

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist vnukga/yii2-migration-generator "*"

```

or add

```
"vnukga/yii2-migration-generator": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, add the following code to "controllerMap" section in 'console/config/main.php' :

```
'migrate-generator' => [
            'class' => 'vnukga\migrationGenerator\MigrateController',
            'sourceClass' => 'vnukga\migrationGenerator\sources\google\GoogleApiSheet',
            'sourceId' => 'Your Google-Sheet ID',
            'useGii' => true, //this allows you to generate models and GRUD's automatically
            'modelNamespace' => 'common\models',
            'keyPath' => 'Your path to a folder with credentials file' //__DIR__ . '/../../google'
        ]

```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity59

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

Unknown

Total

1

Last Release

2553d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25363665?v=4)[vnukga](/maintainers/vnukga)[@vnukga](https://github.com/vnukga)

---

Top Contributors

[![vnukga](https://avatars.githubusercontent.com/u/25363665?v=4)](https://github.com/vnukga "vnukga (12 commits)")

---

Tags

migrationgoogleyii2extension

### Embed Badge

![Health badge](/badges/vnukga-yii2-migration-generator/health.svg)

```
[![Health](https://phpackages.com/badges/vnukga-yii2-migration-generator/health.svg)](https://phpackages.com/packages/vnukga-yii2-migration-generator)
```

###  Alternatives

[bizley/migration

Migration generator for Yii 2.

296389.5k11](/packages/bizley-migration)[dmstr/yii2-migrate-command

Console Migration Command with multiple paths/aliases support

31297.1k6](/packages/dmstr-yii2-migrate-command)[c006/yii2-migration-utility

Automatically writes the create tables for migrations or create tables in general

63161.8k4](/packages/c006-yii2-migration-utility)[yii2tech/illuminate

Yii2 to Laravel Migration Package

11415.8k](/packages/yii2tech-illuminate)[dmstr/yii2-db

Database extensions

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

Generate the schema from an existing database

1829.2k1](/packages/hzhihua-yii2-dump)

PHPackages © 2026

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