Added recipe for WouterJEloquentBundle

This commit is contained in:
Wouter J
2017-10-15 20:33:49 +02:00
parent dc31748ff5
commit 86b96e0b21
3 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
wouterj_eloquent:
driver: '%env(DB_CONNECTION)%'
host: '%env(DB_HOST)%'
port: '%env(DB_PORT)%'
database: '%env(DB_DATABASE)%'
username: '%env(DB_USERNAME)%'
password: '%env(DB_PASSWORD)%'
# Uncomment the following line to enable the Eloquent ORM
#eloquent: ~

View File

@@ -0,0 +1,17 @@
{
"bundles": {
"WouterJ\\EloquentBundle\\WouterJEloquentBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"src/": "%SRC_DIR%/"
},
"env": {
"DB_CONNECTION": "mysql",
"DB_HOST": "127.0.0.1",
"DB_PORT": "3306",
"DB_DATABASE": "symfony",
"DB_USERNAME": "root",
"DB_PASSWORD": ""
}
}

View File