PHP code example of always-open / laravel-migration-snapshot

1. Go to this page and download the library: Download always-open/laravel-migration-snapshot 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/ */

    

always-open / laravel-migration-snapshot example snippets

 bash
php artisan vendor:publish --provider="\AlwaysOpen\MigrationSnapshot\ServiceProvider"
 bash
php artisan migrate
 bash
MIGRATION_SNAPSHOT=0  php artisan migrate
 bash
php artisan migrate:dump
 bash
php artisan migrate:load