PHPackages                             japseyz/dot-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. japseyz/dot-migrations

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

japseyz/dot-migrations
======================

A package made for DotKernel 3 to introduce migrations and seeders

v0.1.10(8y ago)21051MITPHPPHP ^7.1

Since Aug 21Pushed 8y ago1 watchersCompare

[ Source](https://github.com/JapSeyz/dot-migrations)[ Packagist](https://packagist.org/packages/japseyz/dot-migrations)[ RSS](/packages/japseyz-dot-migrations/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (6)Versions (13)Used By (0)

dot-migrations
==============

[](#dot-migrations)

Add migrations and seeders to your DotKernel3 project.

### Usage

[](#usage)

Some new commands as been added to the `php dot` command.

- make:migration &lt;**name**&gt; \[**path**\]
    - Make a migration file, which will be used to create new tables and rows in the database
    - The path is used to pre-fill the namespace, and has to match a path in the config file.
    - **data/database/migrations** is the default path if none are supplied
- make:seed &lt;**name**&gt; \[**path**\]
    - Make a seeder, which will be used to seed the database with data.
    - The path is optional and will default to **data/database/seeds**.
    - When supplying your own path, it must match a path from the config file.
- migrate \[**--force|-f**\]
    - Migrate the missing migrations, use the --force in your deployment script to avoid the production environment warning.
- migrate:reset \[**--force|-f**\] \[**--hard|-h**\]
    - Rollback all migrations and reset the database.
    - Supplying **--force** will prevent the environment warning in production.
    - Supplying the **--hard** flag will drop and re-create the entire schema.
- migrate:rollback
    - Rollback a single batch of migrations only.
- migrate:seed \[**path**\] \[**--force|-f**\]
    - Run all seeders, or optionally provide a path to a specific seeder to run.
    - If a path is provided, please escape it with double-quotes like "Data\\Database\\Seeder\\UserTableSeeder"
    - Supplying the **--force** flag will prevent the environment warning in production.
- migrate:god
    - The God command is intended for development and will recreate the schema, re-migrate and re-seed the database.

To run any of them simply run `php dot `. DotKernel will take care of the rest, putting the files in the correct directories etc. Settings can be found in the `migrations.php.dist`.

### Installation

[](#installation)

1. Installing is extremely easy, all you have to do is run `composer require japseyz/dot-migrations`, and copy the `migrations.php.dist` file to the `/config` folder and remove the .dist ending.
2. After that is done, you open up `/config/config.php` and add `\Dot\Migrations\ConfigProvider::class,` to the `$aggregator` array.
3. Create a folder inside `data` named `database`, and inside this, create two folders; `migrations` and `seeds`, this is where your migrations and seeds will go.
4. That's it, all you have to do now is run `composer dump-autoload` and enjoy access to migrations and seeders, all you have to do is run `php dot`

### Troubleshooting

[](#troubleshooting)

##### The migration commands does not show up, what do I do?

[](#the-migration-commands-does-not-show-up-what-do-i-do)

If you've follow the installation, but no commands show up, try deleting `/data/config-cache.php` and running `php dot` again.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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 ~5 days

Total

11

Last Release

3183d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/33ad5acc22761cefe15f2c62d8d7d1f22b1faea6bd118f8dbc71ee753ff32b92?d=identicon)[JapSeyz](/maintainers/JapSeyz)

---

Top Contributors

[![JapSeyz](https://avatars.githubusercontent.com/u/2234034?v=4)](https://github.com/JapSeyz "JapSeyz (27 commits)")[![bandronic](https://avatars.githubusercontent.com/u/3217919?v=4)](https://github.com/bandronic "bandronic (3 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/japseyz-dot-migrations/health.svg)

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

###  Alternatives

[odan/phinx-migrations-generator

Migration generator for Phinx

233889.6k24](/packages/odan-phinx-migrations-generator)[hounddog/doctrine-data-fixture-module

Zend Framework 2 Module that provides Doctrine Data-Fixture functionality

37335.9k9](/packages/hounddog-doctrine-data-fixture-module)

PHPackages © 2026

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