PHPackages                             redbastie/laravel-auto-migrate - 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. redbastie/laravel-auto-migrate

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

redbastie/laravel-auto-migrate
==============================

Automatic migrations for your Laravel models.

1.0.0(5y ago)513MITPHP

Since Jan 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/redbastie/laravel-auto-migrate)[ Packagist](https://packagist.org/packages/redbastie/laravel-auto-migrate)[ Docs](https://github.com/redbastie/laravel-auto-migrate)[ RSS](/packages/redbastie-laravel-auto-migrate/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

NO LONGER MAINTAINED
====================

[](#no-longer-maintained)

This package is no longer maintained. Please consider my latest package here:

---

Laravel Auto Migrate
====================

[](#laravel-auto-migrate)

Automatic migrations for your Laravel models.

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

[](#installation)

Install via composer:

```
composer require redbastie/laravel-auto-migrate

```

How It Works
------------

[](#how-it-works)

The `migrate:auto` command will automatically diff your database and apply the necessary changes via Doctrine.

Usage
-----

[](#usage)

Specify a `migration` method in your Laravel model:

```
class Vehicle extends Model
{
    use HasFactory, FillsColumns;

    public function migration(Blueprint $table)
    {
        $table->id();
        $table->string('name');
        $table->timestamps();
    }
}

```

Run the `migrate:auto` command:

```
php artisan migrate:auto --fresh --seed

```

Note that `--fresh` and `--seed` are optional.

Traditional Migrations
----------------------

[](#traditional-migrations)

The `migrate:auto` command will run your traditional migration files before the automatic migration methods.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

1994d ago

### Community

Maintainers

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

---

Top Contributors

[![redbastie](https://avatars.githubusercontent.com/u/64050101?v=4)](https://github.com/redbastie "redbastie (3 commits)")

### Embed Badge

![Health badge](/badges/redbastie-laravel-auto-migrate/health.svg)

```
[![Health](https://phpackages.com/badges/redbastie-laravel-auto-migrate/health.svg)](https://phpackages.com/packages/redbastie-laravel-auto-migrate)
```

###  Alternatives

[backpack/crud

Quickly build admin interfaces using Laravel, Bootstrap and JavaScript.

3.4k3.7M223](/packages/backpack-crud)[leantime/leantime

Open source project management system for non-project managers. Simple like Trello, powerful like Jira. Built with neurodiversity in mind.

10.2k3.5k](/packages/leantime-leantime)[tpetry/laravel-postgresql-enhanced

Support for many missing PostgreSQL specific features

1.0k2.4M29](/packages/tpetry-laravel-postgresql-enhanced)[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11223.5M33](/packages/anourvalar-eloquent-serialize)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[dcat-plus/laravel-admin

dcat-plus admin

1474.0k10](/packages/dcat-plus-laravel-admin)

PHPackages © 2026

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