PHPackages                             leekung/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. [Database &amp; ORM](/categories/database)
4. /
5. leekung/webman-migrations

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

leekung/webman-migrations
=========================

Webman plugin eloquent-ORM migrations

2.0.0(1y ago)0231MITPHPPHP &gt;=8.0

Since Feb 27Pushed 3mo agoCompare

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

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

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

[](#webman-migration)

A migration tool for webman, similar to Laravel migration.

```
composer require leekung/webman-migrations
```

Similar to the usage of Laravel migration:

```
# generate a migration file
php webman migrate:create create_users_table
# generate a migration file in a specified directory
php webman migrate:create create_users_table --path=admin
# execute the migration
php webman migrate:run
# execute the migration in a specified directory
php webman migrate:run --path=admin
# rollback the migration
php webman migrate:rollback
# check the migration status
php webman migrate:status
# fresh migration from start
php webman migrate:fresh
# generate a data seeding file
php webman seed:create UserSeeder
# execute data seeding
php webman seed:run
```

Specify the database connection:

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

Create a database

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

Execute the migration on the specified database:

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

Seed the data on the specified database:

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

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance62

Regular maintenance activity

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

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

492d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3615383?v=4)[Withun Porawiwat](/maintainers/leekung)[@leekung](https://github.com/leekung)

---

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 (9 commits)")[![hms5232](https://avatars.githubusercontent.com/u/43672033?v=4)](https://github.com/hms5232 "hms5232 (1 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M195](/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)
