Add recipe for DadataBundle

This commit is contained in:
Velhron
2021-03-11 10:25:10 +03:00
parent e79366d2a7
commit fa25b451e5
3 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
velhron_dadata:
token: '%env(DADATA_TOKEN)%'
private_key: '%env(DADATA_SECRET)%'

View File

@@ -0,0 +1,12 @@
{
"bundles": {
"Velhron\\DadataBundle\\VelhronDadataBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"DADATA_TOKEN": "your-token",
"DADATA_SECRET": "your-secret"
}
}

View File

@@ -0,0 +1,8 @@
<bg=blue;fg=white> </>
<bg=blue;fg=white> What`s next? </>
<bg=blue;fg=white> </>
* Modify your DADATA_TOKEN config in <fg=green>.env</>
* Modify your DADATA_SECRET config in <fg=green>.env</>
More details: https://github.com/Velhron/dadata-bundle