PHP code example of andreyryabin / sprint.migration

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

    

andreyryabin / sprint.migration example snippets


#!/usr/bin/env php


$_SERVER['DOCUMENT_ROOT'] = dirname(__DIR__);

// app/AppKernel.php
use Sprint\Migration\SymfonyBundle\SprintMigrationBundle;

public function registerBundles()
{
    $bundles = array(
        new SprintMigrationBundle(),
    );
    return $bundles;
}