PHPackages                             wearesynetic/laravel-migator - 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. wearesynetic/laravel-migator

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

wearesynetic/laravel-migator
============================

Laravel schema migration generator.

0.1.1(3y ago)26[8 issues](https://github.com/SyneticNL/MiGator/issues)[1 PRs](https://github.com/SyneticNL/MiGator/pulls)MITPHPPHP ^8.0|^8.1

Since Oct 12Pushed 3y ago3 watchersCompare

[ Source](https://github.com/SyneticNL/MiGator)[ Packagist](https://packagist.org/packages/wearesynetic/laravel-migator)[ RSS](/packages/wearesynetic-laravel-migator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (11)Versions (10)Used By (0)

Laravel Migator
===============

[](#laravel-migator)

[![Latest Version](https://camo.githubusercontent.com/8b149f7ecb77b288ef8c86256820128753b91897b52c7d0b0fae93949f62f9b6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f73796e657469636e6c2f6d696761746f722e7376673f7374796c653d666c61742d737175617265)](https://github.com/syneticnl/migator/releases)[![GitHub Workflow Status](https://github.com/syneticnl/migator/actions/workflows/phpunit.yml/badge.svg)](https://github.com/SyneticNL/MiGator/actions)[![Total Downloads](https://camo.githubusercontent.com/c9c5dc6491337a3673c3052f8a1e3f05e079141b1ba220c03fc08d46f15384a0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f776561726573796e657469632f6c61726176656c2d6d696761746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wearesynetic/laravel-migator)

[![Laravel Migator personified as Arnold Schwarzenegger in Terminator](https://camo.githubusercontent.com/c0b54e64f3923e59049be87f655e1ef6c45098fe5c0b819e6781b1a553df4d50/68747470733a2f2f73636f6e74656e742d616d73322d312e78782e666263646e2e6e65742f762f7433392e33303830382d362f3237373536363431335f3336393133333439383535383638315f373331323432393930383934353237383836395f6e2e706e673f5f6e635f6361743d313038266363623d312d37265f6e635f7369643d653366383634265f6e635f6f68633d2d4847673931775679726f41582d6a344c7045265f6e635f68743d73636f6e74656e742d616d73322d312e7878266f683d30305f4154383238347949516b5464726d42794a4a3378527975336275522d5271566465576d48305a4263547a79387477266f653d3633344134343538 "The Migator will be back!")](https://camo.githubusercontent.com/c0b54e64f3923e59049be87f655e1ef6c45098fe5c0b819e6781b1a553df4d50/68747470733a2f2f73636f6e74656e742d616d73322d312e78782e666263646e2e6e65742f762f7433392e33303830382d362f3237373536363431335f3336393133333439383535383638315f373331323432393930383934353237383836395f6e2e706e673f5f6e635f6361743d313038266363623d312d37265f6e635f7369643d653366383634265f6e635f6f68633d2d4847673931775679726f41582d6a344c7045265f6e635f68743d73636f6e74656e742d616d73322d312e7878266f683d30305f4154383238347949516b5464726d42794a4a3378527975336275522d5271566465576d48305a4263547a79387477266f653d3633344134343538)

A package that will allow developers to interactively generate schema migrations for a laravel application. It takes into account the existing entity/fields based on the available data in the database.

This package will ask the developer interactively for the following:

- model
- table (default: derived from laravel model naming convention)
- fields (repeatedly)
    - name
    - type
        - id
        - uuid
        - type
        - boolean
        - text
        - date
        - datetime
        - json
        - id
        - integer
    - default value (#11)
    - index (#12)
    - foreign keys (#13)
- relations to other entities (#9)

It will then ask for writing this into a migration file. It creates and writes a new migration file to the default laravel migration path.

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

[](#installation)

This package can be installed using composer:

```
composer require wearesynetic/laravel-migator --dev
```

Usage
-----

[](#usage)

`php artisan make:migator`

This will start the migator process.

Roadmap
-------

[](#roadmap)

- Derive table name default from the given model
- Implement validation of preexisting columns / definitions
- Implement CLI usage for 'model'-specific use case (#5)
- Implement CLI usage for 'other' use case (#6)
- Implement relation mapping / autocomplete (#9)
- Optionally specify the stub to be used for the migration (#10)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor3

3 contributors hold 50%+ of commits

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 ~0 days

Total

2

Last Release

1309d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/807239196356e7e4c7debc06af54124b53c12edcc0ffc1e703f6bcab7fe65255?d=identicon)[sjerdo](/maintainers/sjerdo)

![](https://www.gravatar.com/avatar/5051da9e48746fca73d79e2f4f9546a5b2a3ad0becf846e5066f8ba676e38189?d=identicon)[SyneticDevOps](/maintainers/SyneticDevOps)

---

Top Contributors

[![fruitl00p](https://avatars.githubusercontent.com/u/1492861?v=4)](https://github.com/fruitl00p "fruitl00p (54 commits)")[![Krilo89](https://avatars.githubusercontent.com/u/5180445?v=4)](https://github.com/Krilo89 "Krilo89 (42 commits)")[![mishavantol](https://avatars.githubusercontent.com/u/2063695?v=4)](https://github.com/mishavantol "mishavantol (38 commits)")[![AubreyHewes](https://avatars.githubusercontent.com/u/2069584?v=4)](https://github.com/AubreyHewes "AubreyHewes (30 commits)")[![jbertoen](https://avatars.githubusercontent.com/u/380511?v=4)](https://github.com/jbertoen "jbertoen (29 commits)")[![TomvEtten](https://avatars.githubusercontent.com/u/24608027?v=4)](https://github.com/TomvEtten "TomvEtten (27 commits)")[![jonkootje](https://avatars.githubusercontent.com/u/18559467?v=4)](https://github.com/jonkootje "jonkootje (17 commits)")

---

Tags

hacktoberfestlaravelmigrationssyneticmigatorDLF-Hackathon-2022

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/wearesynetic-laravel-migator/health.svg)

```
[![Health](https://phpackages.com/badges/wearesynetic-laravel-migator/health.svg)](https://phpackages.com/packages/wearesynetic-laravel-migator)
```

###  Alternatives

[clickbar/laravel-magellan

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

423715.4k1](/packages/clickbar-laravel-magellan)[dragon-code/laravel-deploy-operations

Performing any actions during the deployment process

240173.5k2](/packages/dragon-code-laravel-deploy-operations)[nunomaduro/laravel-optimize-database

Publishes migrations that make your database production ready.

26123.0k](/packages/nunomaduro-laravel-optimize-database)[lacodix/laravel-model-filter

A Laravel package to filter, search and sort models with ease while fetching from database.

17649.9k](/packages/lacodix-laravel-model-filter)[orptech/laravel-migration-partition

Laravel extensions that extends Illuminate to enable partitioned table creation within Laravel migrations.

3426.7k](/packages/orptech-laravel-migration-partition)

PHPackages © 2026

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