PHP code example of justinholtweb / craft-passer
1. Go to this page and download the library: Download justinholtweb/craft-passer 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/ */
justinholtweb / craft-passer example snippets
bash
php craft passer/migrate/plans # list saved plans
php craft passer/migrate/analyze --plan=1 # what's in the source
php craft passer/migrate/provision --plan=1 -d # dry-run the content model
php craft passer/migrate/run --plan=1 --provision # provision, then migrate
php craft passer/migrate/run --plan=1 --phases=seo,redirects
php craft passer/migrate/resume 7 # continue an interrupted run
php craft passer/migrate/report 7