andresilva/migrator

Migrator is a GUI migration manager for Laravel.

dev-master 2023-10-31 15:26 UTC

This package is auto-updated.

Last update: 2024-10-26 16:44:01 UTC


README

Migrator is a GUI migration manager for Laravel which you can create, manage and delete your migration.

Also, with Migrator you will be able to use a feature called "Safe Migrate" which allows you to run migration without fear of foreign key sorting, it will automatically run migrations in the correct order and you don't need to change the migrations filename.

Migrator photo

Installation:

To install Migrator you can execute this command:

composer require rezaamini-ir/migrator

Then you will access to /migrator route.

Config

To access config file you need to publish config files to your project with this command:

php artisan vendor:publish --tag=migrator-config

Now you will be able to change config as you want!

To change the route path you can change the route key in migrator config.

And, with middleware key you can set your middleware to authenticate your user.

If you don't need to authenticate users to access migrator you can set the value to web.