symfony-bundle phinx-bundle
mvrhov phinx bundle
mvrhov/phinx-bundle
mvrhov phinx bundle
- Thursday, December 28, 2017
- by mvrhov
- Repository
- 2 Watchers
- 3 Stars
- 334 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 4 Forks
- 1 Open issues
- 5 Versions
- 29 % Grown
Composer
The fastest way to install Phinx bundle is to add it to your project using Composer (http://getcomposer.org/)., (*1)
-
Install Composer:, (*2)
curl -sS https://getcomposer.org/installer | php
-
Require Phinx bundle as a dependency using Composer:, (*3)
php composer.phar require mvrhov/phinx-bundle
-
Install bundle:, (*4)
php composer.phar install
-
Add bundle to app/AppKernel.php
, (*5)
if (in_array($this->getEnvironment(), ['dev', 'test'], true)) {
// ...
if ('dev' === $this->getEnvironment()) {
// ...
$bundles[] = new \mvrhov\PhinxBundle\mvrhovPhinxBundle();
}
}
-
Add bundle config to app/config/config_dev.yml
Example:, (*6)
mvrhov_phinx:
adapters:
mysql: Phinx\Db\Adapter\MysqlAdapter
environment:
connection:
adapter: mysql
host: '%database_host%'
port: '%database_port%'
name: '%database_name%'
user: '%database_user%'
pass: '%database_password%'
charset: UTF8
See DependencyInjection/Configuration.php
for full list of available options., (*7)
dev-master
9999999-dev
mvrhov phinx bundle
Sources
Download
MIT
The Requires
phinx bundle
v0.9.1
0.9.1.0
mvrhov phinx bundle
Sources
Download
MIT
The Requires
phinx bundle
v0.9
0.9.0.0
mvrhov phinx bundle
Sources
Download
MIT
The Requires
phinx bundle
dev-mvrhov-patch-1
dev-mvrhov-patch-1
mvrhov phinx bundle
Sources
Download
MIT
The Requires
phinx bundle
dev-allow07
dev-allow07
mvrhov phinx bundle
Sources
Download
MIT
The Requires
phinx bundle