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 3d 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 37% 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

1941d 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

[tpetry/laravel-postgresql-enhanced

Support for many missing PostgreSQL specific features

9982.0M14](/packages/tpetry-laravel-postgresql-enhanced)[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58523.9M36](/packages/scienta-doctrine-json-functions)[overtrue/laravel-versionable

Make Laravel model versionable.

585308.0k5](/packages/overtrue-laravel-versionable)[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)

PHPackages © 2026

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