kenkataiwa/doctrine-migrations-module
Composer 安装命令:
composer require kenkataiwa/doctrine-migrations-module
包简介
Doctrine Migrations module for Zend Framework 2
README 文档
README
Introduction
This module integrates the Doctrine Migrations library. into Zend Framework so that you can load data fixtures programmatically into the Doctrine ORM or ODM.
Installation
Installation of this module uses composer. For composer documentation, please refer to getcomposer.org.
$ composer require kenkataiwa/doctrine-migrations-module
Then open config/application.config.php and add DoctrineModule, DoctrineORMModule and
DoctrineMigrationsModule to your modules
Configuring Migrations
To configure migrations with Doctrine module add the migrations in your configuration.
<?php return array( ... 'doctrine' => array( 'migrations' => array( 'migrations_table' => 'migrations', 'migrations_namespace' => 'Application', 'migrations_directory' => './data/migrations', ), ), ... );
Usage
Command Line
Access the Doctrine command line
统计信息
- 总下载量: 107
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-03-26