rodrigonull/silex-doctrine-migrations-provider
Composer 安装命令:
composer require rodrigonull/silex-doctrine-migrations-provider
包简介
A doctrine migrations provider for silex
README 文档
README
A doctrine migrations provider for Silex.
Installation
Install the provider through Composer:
composer require rodrigonull/silex-doctrine-migrations-provider
Usage
Add the provider with your config...
<?php $console = new \Symfony\Component\Console\Application(); $app->register( new \Null\Silex\Provider\DoctrineMigrationsProvider($console), array( 'migrations.directory' => __DIR__ . '/../path/to/migrations', 'migrations.name' => 'Acme Migrations', 'migrations.namespace' => 'Acme\Migrations', 'migrations.table_name' => 'acme_migrations', ) ); $app->boot(); $console->run();
Code coverage reports
$ bin/phpunit --coverage-html build/coverage --coverage-clover build/logs/clover.xml --log-junit build/logs/phpunit.xml
That was it!
统计信息
- 总下载量: 77
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-11-04