PHP code example of robinwongm / tjupt-to-unit3d

1. Go to this page and download the library: Download robinwongm/tjupt-to-unit3d 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/ */

    

robinwongm / tjupt-to-unit3d example snippets

bash
 # Optional but recommended: Make sure a fresh installation
php artisan migrate:fresh --seed

# IMPORTANT: Run migrations from this package
php artisan migrate --path=vendor/robinwongm/tjupt-to-unit3d/src/migrations/2020_02_10_054032_add_nexus_compatibility.php

# Import
php artisan unit3d:from-tjupt --host=<YOUR TJUPT DATABASE HOST> --database=<YOUR TJUPT DATABASE NAME> --username=<YOUR TJUPT DATABASE USERNAME> --password=<YOUR TJUPT DATABASE PASSWORD>

# Optional: Remove temporarily-added columns
php artisan migrate --path=vendor/robinwongm/tjupt-to-unit3d/src/migrations/2020_02_10_054032_add_nexus_compatibility.php
bash
php artisan unit3d:from-tjupt --help