PHP code example of hashtagcms / migration-tool

1. Go to this page and download the library: Download hashtagcms/migration-tool 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/ */

    

hashtagcms / migration-tool example snippets

bash
php artisan vendor:publish --tag="migration-tool-config"
php artisan migrate
bash
php artisan queue:work
bash
php artisan cms:migrate-site {site_id} \
    --database="source_db" \
    --username="root" \
    --password="password" \
    --media --source-root="/var/www/old-site"