Programmatically define table and column definitions, and write a migration file. This is useful when you want to create migrations from an external source, such as an API, to store data locally. See here for an example usage.
To install the Laravel Migration Builder package, follow these steps:
composer require blackbricksoftware/laravel-migration-builder --dev
php artisan vendor:publish --tag=laravel-migration-builder-config
To create a migration using the example command, follow these steps:
See src/Commands/ExampleCommand.php for an example.
Run php artisan make:migration-builder:example
to create a migration with this example.