PHP code example of lameco / craft-kunstmaan-migrator

1. Go to this page and download the library: Download lameco/craft-kunstmaan-migrator 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/ */

    

lameco / craft-kunstmaan-migrator example snippets


Event::on(AdapterRegistry::class, AdapterRegistry::EVENT_REGISTER_ADAPTERS,
    static function (RegisterAdaptersEvent $event): void {
        $event->adapters[] = new Adapter(
            'acme', 'Acme', 'acmeEnabled', 'acme-plugin',
            static fn () => new AcmeMigrationService(),
        );
    });
bash
php lib/kuma-compile/bin/kuma-compile init --help