PHP code example of mnabialek / laravel-quick-migrations
1. Go to this page and download the library: Download mnabialek/laravel-quick-migrations library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mnabialek / laravel-quick-migrations example snippets
composer
php artisan vendor:publish
QUICK_MIGRATIONS_ENABLED=true
QUICK_MIGRATIONS_DUMP_FILE="/custom/directory/custom_filename.sql"
use Mnabialek\LaravelQuickMigrations\QuickDatabaseMigrations;
php artisan migrate:fresh --database=selected_sql_connection