PHPackages                             therour/db-migrator - 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. therour/db-migrator

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

therour/db-migrator
===================

The Database migration based on laravel migration.

1.02(6y ago)061[1 PRs](https://github.com/therour/db-migrator/pulls)MITPHPPHP ^7.2CI failing

Since Dec 28Pushed 5y ago1 watchersCompare

[ Source](https://github.com/therour/db-migrator)[ Packagist](https://packagist.org/packages/therour/db-migrator)[ RSS](/packages/therour-db-migrator/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (13)Versions (5)Used By (0)

artisan-migrator
================

[](#artisan-migrator)

Laravel migration only, built for separate project in case you are not using laravel as main framework but love to using its database migration,t you may run `php artisan make:migration` or `php artisan migrate` within this package.

Installation
------------

[](#installation)

- Just [Download zip](https://github.com/therour/db-migrator/archive/master.zip) **or**
- clone the repository to create this migration project `git clone git@github.com:therour/db-migrator.git`

Configuration
-------------

[](#configuration)

- you should add configuration to `config.php` or you may use `.env` just by creating the file.

```
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=test
DB_USERNAME=root
DB_PASSWORD=
```

Usage
-----

[](#usage)

Create a migration file by running command `php artisan make:migration create_users_table`and then you can edit the migration file inside `database` folder.

*NB:* see the [documentation by laravel](https://laravel.com/docs/6.x/migrations)

Available commands
------------------

[](#available-commands)

run `php artisan list` to show all available commands.

- db

    - `php artisan db:seed` Seed the database with records
    - `php artisan db:wipe` Drop all tables, views, and types
- make

    - `php artisan make:migration` Create a new migration file
    - `php artisan make:seeder` Create a new seeder class
- migrate

    - `php artisan migrate:fresh` Drop all tables and re-run all migrations
    - `php artisan migrate:install` Create the migration repository
    - `php artisan migrate:refresh` Reset and re-run all migrations
    - `php artisan migrate:reset` Rollback all database migrations
    - `php artisan migrate:rollback` Rollback the last database migration
    - `php artisan migrate:status` Show the status of each migration

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

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

Every ~33 days

Total

4

Last Release

2279d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16388470?v=4)[therour](/maintainers/therour)[@therour](https://github.com/therour)

---

Top Contributors

[![therour](https://avatars.githubusercontent.com/u/16388470?v=4)](https://github.com/therour "therour (11 commits)")

---

Tags

phpmigrationdatabase

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/therour-db-migrator/health.svg)

```
[![Health](https://phpackages.com/badges/therour-db-migrator/health.svg)](https://phpackages.com/packages/therour-db-migrator)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[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)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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