PHP code example of dbtlr / silex-doctrine-migrations
1. Go to this page and download the library: Download dbtlr/silex-doctrine-migrations 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/ */
dbtlr / silex-doctrine-migrations example snippets
$app->register(new \Dbtlr\MigrationProvider\Provider\MigrationServiceProvider(), array(
'db.migrations.path' => __DIR__ . '/../app/migrations',
));