Migrator is a GUI migration manager for Laravel.
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.
To install Migrator you can execute this command:
composer require rezaamini-ir/migrator
Then you will access to /migrator
route.
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
.