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)0201MITPHPPHP &gt;=8.0

Since Feb 27Pushed 1mo 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 1mo ago

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

35

—

LowBetter than 79% of packages

Maintenance74

Regular maintenance activity

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity42

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

436d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1ec6d02f6870dbe56ed82fcf218c5314b2a7a13bffa6d7ad9db84e98d55eb4da?d=identicon)[leekung](/maintainers/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

[owen-it/laravel-auditing

Audit changes of your Eloquent models in Laravel

3.4k33.0M95](/packages/owen-it-laravel-auditing)[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[spatie/laravel-backup

A Laravel package to backup your application

6.0k21.8M186](/packages/spatie-laravel-backup)[ryangjchandler/orbit

A flat-file database driver for Eloquent.

922256.2k5](/packages/ryangjchandler-orbit)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[toponepercent/baum

Baum is an implementation of the Nested Set pattern for Eloquent models.

3154.7k](/packages/toponepercent-baum)

PHPackages © 2026

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