kitloong/laravel-migrations-generator
Generate Laravel migration files from an existing database schema, including columns, indexes, and foreign keys. Works with MariaDB/MySQL, PostgreSQL, SQL Server, and SQLite. Generate all tables or target/ignore specific tables via Artisan.
-p, --path[=PATH]
The --path option allows you to specify the directory where the generated migration files should be created.
By default, migrations are created in the database/migrations directory.
To use the --path option, you need to provide the desired directory path. For example:
php artisan migrate:generate --path="custom/migrations"
This command will generate the migration files in the custom/migrations directory instead of the default database/migrations directory.
How can I help you explore Laravel packages today?