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

ActiveLibrary

jizhi/webman-migrations
=======================

Webman plugin eloquent-ORM migrations

1.0.1(1y ago)0371MITPHPPHP &gt;=7.2

Since Jan 8Pushed 1y agoCompare

[ Source](https://github.com/sym134/webman-migrations)[ Packagist](https://packagist.org/packages/jizhi/webman-migrations)[ RSS](/packages/jizhi-webman-migrations/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (1)

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

[](#webman-migration)

来自composer require pxianyu/migrations

```
composer require jizhi/webman-migrations
```

和laravel migration 使用方法类似

- php webman migrate:created create\_users\_table 生成迁移文件
- php webman migrate:created 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:created UserSeeder 生成数据填充文件

指定数据库连接

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

```

在同一个host，同一个端口下，指定不同的库

```
composer require pxianyu/migrations:dev-dev
```

创建数据库

```
php webman create:database test
```

执行迁移

```
php webman migrate:run --database=test
```

填充数据

```
 php webman seed:run --database=test
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance41

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

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

488d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/501c964d23378039edf0c40caa32f7f84ecaa9c5b103b280d3412dba562f24eb?d=identicon)[sym134](/maintainers/sym134)

---

Top Contributors

[![pxianyu](https://avatars.githubusercontent.com/u/17877482?v=4)](https://github.com/pxianyu "pxianyu (12 commits)")[![warmup413](https://avatars.githubusercontent.com/u/32946251?v=4)](https://github.com/warmup413 "warmup413 (9 commits)")[![leekung](https://avatars.githubusercontent.com/u/3615383?v=4)](https://github.com/leekung "leekung (5 commits)")

### Embed Badge

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

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

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M686](/packages/barryvdh-laravel-ide-helper)[owen-it/laravel-auditing

Audit changes of your Eloquent models in Laravel

3.4k33.0M95](/packages/owen-it-laravel-auditing)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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