umanit / phinx-bundle
umanit phinx bundle
Installs: 53 859
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 10
Forks: 9
Open Issues: 1
Type:symfony-bundle
Requires
- php: ^7.1|^8.0
- robmorgan/phinx: ^0.10|^0.11|^0.12
- symfony/framework-bundle: ^4.4|^5.0
README
Composer
The fastest way to install Phinx bundle is to add it to your project using Composer (http://getcomposer.org/).
-
Install Composer:
curl -sS https://getcomposer.org/installer | php
-
Require Phinx bundle as a dependency using Composer:
php composer.phar require umanit/phinx-bundle
-
Install bundle:
php composer.phar install
-
Add bundle to
config/bundles.php
return [ // [...] Umanit\PhinxBundle\UmanitPhinxBundle::class => ['all' => true], ];
-
Add bundle config to
config/packages/umanit_phinx.yaml
Example:
umanit_phinx: environment: connection: dsn: 'mysql://db_user:db_password@127.0.0.1:3306/db_name'
See
DependencyInjection/Configuration.php
for full list of available options.