Skip to content

Hanan467/SyncMigrate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔄 SyncMigrate

Automatically resolves Laravel migration order based on foreign key dependencies.

This package scans your migration files, detects foreign key relationships, and runs them in the correct order using topological sorting. No need to rename or manually order your files.


✅ Features

  • Detects foreignId()->constrained() relationships
  • Sorts migrations based on dependencies
  • Runs migrations in the correct order
  • No config required – works out of the box

📦 Installation

You can install SyncMigrate via Composer directly from Packagist:

composer require hanan467/sync-migrate

Usage

php artisan migrate:sync

About

A Laravel package that automatically resolves migration order based on foreign key dependencies.

Topics

Resources

License

Stars

3 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages