PHPackages                             hectorqin/thinkphp-migration - 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. hectorqin/thinkphp-migration

ActiveThink-extend[Database &amp; ORM](/categories/database)

hectorqin/thinkphp-migration
============================

Database migration.

v1.0.0(6y ago)25Apache-2.0PHP

Since Aug 2Pushed 6y ago1 watchersCompare

[ Source](https://github.com/hectorqin/thinkphp-migration)[ Packagist](https://packagist.org/packages/hectorqin/thinkphp-migration)[ RSS](/packages/hectorqin-thinkphp-migration/feed)WikiDiscussions master Synced 3d ago

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

thinkphp-migration
==================

[](#thinkphp-migration)

thinkphp5.1 数据库迁移工具

框架要求
----

[](#框架要求)

ThinkPHP5.1+

安装
--

[](#安装)

```
composer require hectorqin/thinkphp-migration
```

配置
--

[](#配置)

修改项目根目录下config/migration.php中对应的参数

使用
--

[](#使用)

```
# 帮助
 migrate
  migrate:breakpoint  Manage breakpoints
  migrate:create      Create a new migration
  migrate:rollback    Rollback the last or to a specific migration
  migrate:run         Migrate the database
  migrate:status      Show migration status

 seed
  seed:create         Create a new database seeder
  seed:run            Run database seeders
```

License
-------

[](#license)

Apache-2.0

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

2478d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9b8a54eac6e1f748bc947581efd89a684838353116927057f5c98937fb1888c6?d=identicon)[hectorqin](/maintainers/hectorqin)

---

Tags

databasemigration-toolphinxthinkphp

### Embed Badge

![Health badge](/badges/hectorqin-thinkphp-migration/health.svg)

```
[![Health](https://phpackages.com/badges/hectorqin-thinkphp-migration/health.svg)](https://phpackages.com/packages/hectorqin-thinkphp-migration)
```

###  Alternatives

[odan/phinx-migrations-generator

Migration generator for Phinx

235847.8k23](/packages/odan-phinx-migrations-generator)[topthink/think-migration

96460.8k121](/packages/topthink-think-migration)[topthink/think-mongo

mongodb driver for thinkphp6.0

109139.8k6](/packages/topthink-think-mongo)[nhzex/think-phinx

Phinx integration for thinkphp

243.1k](/packages/nhzex-think-phinx)

PHPackages © 2026

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