PHPackages                             jonlincy/migrations - 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. jonlincy/migrations

ActiveLibrary[Database &amp; ORM](/categories/database)

jonlincy/migrations
===================

Webman plugin eloquent-ORM migrations

v1.0.0(6mo ago)01MITPHPPHP &gt;=7.4

Since Dec 8Pushed 6mo agoCompare

[ Source](https://github.com/Jonlincy/webman-migrations)[ Packagist](https://packagist.org/packages/jonlincy/migrations)[ RSS](/packages/jonlincy-migrations/feed)WikiDiscussions main Synced today

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

webman-migration
================

[](#webman-migration)

和laravel migration 使用方法类似

- php webman migrate:create create\_users\_table 生成迁移文件
- php webman migrate:create create\_users\_table --path=admin 生成迁移文件是指定目录
- php webman migrate:run 执行迁移
- php webman migrate:run --path=admin 执行指定目录的迁移
- php webman migrate:rollback 回滚迁移
- php webman migrate:status 查看迁移状态
- php webman migrate:fresh
- php webman seed:run 执行数据填充
- php webman seed:create UserSeeder 生成数据填充文件

指定数据库连接

```
$this->schema()->setConnection(Db::connection('mysql2'))->create('orders', function (Blueprint $table) {
$table->id();
$table->timestamps();
});

```

dev `composer require pxianyu/migrations:dev-dev`在同一个host，同一个端口下，指定不同的库

创建数据库 `php webman create:database test`执行迁移 `php webman migrate:run --database=test`填充数据 `- php webman seed:run --database=test`

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance66

Regular maintenance activity

Popularity1

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 65% 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

208d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3851bccbd4d5b910130c78d17fa7c0b0cb73aa847fc70739d70e652a73f9f667?d=identicon)[Jonlincy](/maintainers/Jonlincy)

---

Top Contributors

[![pxianyu](https://avatars.githubusercontent.com/u/17877482?v=4)](https://github.com/pxianyu "pxianyu (13 commits)")[![leekung](https://avatars.githubusercontent.com/u/3615383?v=4)](https://github.com/leekung "leekung (5 commits)")[![hms5232](https://avatars.githubusercontent.com/u/43672033?v=4)](https://github.com/hms5232 "hms5232 (1 commits)")[![Jonlincy](https://avatars.githubusercontent.com/u/32214611?v=4)](https://github.com/Jonlincy "Jonlincy (1 commits)")

### Embed Badge

![Health badge](/badges/jonlincy-migrations/health.svg)

```
[![Health](https://phpackages.com/badges/jonlincy-migrations/health.svg)](https://phpackages.com/packages/jonlincy-migrations)
```

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M193](/packages/laravel-ai)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)[owen-it/laravel-auditing

Audit changes of your Eloquent models in Laravel

3.4k36.8M157](/packages/owen-it-laravel-auditing)[spatie/laravel-medialibrary

Associate files with Eloquent models

6.1k43.2M632](/packages/spatie-laravel-medialibrary)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)

PHPackages © 2026

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