fervo/heroku-db

Makes it easy for IncenteevParameterHandler to pick up Heroku database params

1.0.0 2015-03-26 00:56 UTC

This package is auto-updated.

Last update: 2024-11-12 04:32:09 UTC


README

  1. Require this in your project.
  2. Add "Fervo\\Composer\\HerokuDb\\HerokuDatabase::populateEnvironment", to your composer.json post-install-cmd and post-update-cmd before the Incenteev handler
  3. Add the following to the incenteev-parameters extra section:
"env-map": {
    "database_driver": "DATABASE_DRIVER",
    "database_host": "DATABASE_HOST",
    "database_port": "DATABASE_PORT",
    "database_name": "DATABASE_NAME",
    "database_user": "DATABASE_USER",
    "database_password": "DATABASE_PASSWORD"
}