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 1mo ago

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

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

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

2223d ago

### Community

Maintainers

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

[spatie/laravel-backup

A Laravel package to backup your application

6.0k21.8M186](/packages/spatie-laravel-backup)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k43.5M5.1k](/packages/larastan-larastan)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M368](/packages/laravel-zero-framework)[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)

PHPackages © 2026

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