PHP code example of sulu / phpcr-migration-bundle

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

    

sulu / phpcr-migration-bundle example snippets

diff
// config/bundles.php

return [
    // ...
+   Sulu\Bundle\PhpcrMigrationBundle\SuluPhpcrMigrationBundle::class => ['all' => true],
shell
php bin/adminconsole sulu:phpcr-migration:migrate snippet
shell
php bin/adminconsole sulu:phpcr-migration:migrate --dry-run