PHP code example of netlogix / migrations-neos

1. Go to this page and download the library: Download netlogix/migrations-neos 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/ */

    

netlogix / migrations-neos example snippets



declare(strict_types=1);

namespace Netlogix\Migrations\Persistence\Migrations;

use Netlogix\Migrations\Neos\Domain\Migration\NodeMigration;

class Version20200909170000 extends NodeMigration
{

    public function up(): void
    {
        $this->addMigrationVersion('20200909170000');
    }

}