murganikolay / doctrine-migrations-module
Doctrine migrations module for Zend Framework 2
Installs: 4 052
Dependents: 0
Suggesters: 0
Security: 0
Stars: 11
Watchers: 1
Forks: 13
Open Issues: 3
Requires
- php: >=5.3.3
- doctrine/doctrine-module: 0.7.*
- doctrine/migrations: v1.0-ALPHA1
This package is not auto-updated.
Last update: 2022-11-07 20:52:33 UTC
README
DoctrineMigrationsModule add migration commands to DoctrineModule Cli!
Version: 1.0.0
Istallation
Composer
- Add
"murganikolay/doctrine-migrations-module": "1.0.0"
to yourcomposer.json
file and run php composer.phar update. - Add DoctrineMigrationsModule to your
config/application.config.php
file under the modules key.
If you use default minimum-stability
( default minimum-stability: stable
) you need add modify root composer.json
and add "doctrine/migrations": "v1.0-ALPHA1"
to require
section.
Manual
Not support!
Configuration
Change you Application config like this:
return array(
...
'doctrine' => array(
'migrations' => array(
'migrations_table' => 'migrations',
'migrations_namespace' => 'Application',
'migrations_directory' => 'data/migrations',
),
),
...
);