mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
Add recipe for DadataBundle
This commit is contained in:
3
velhron/dadata-bundle/1.0/config/packages/dadata.yaml
Normal file
3
velhron/dadata-bundle/1.0/config/packages/dadata.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
velhron_dadata:
|
||||
token: '%env(DADATA_TOKEN)%'
|
||||
private_key: '%env(DADATA_SECRET)%'
|
||||
12
velhron/dadata-bundle/1.0/manifest.json
Normal file
12
velhron/dadata-bundle/1.0/manifest.json
Normal 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"
|
||||
}
|
||||
}
|
||||
8
velhron/dadata-bundle/1.0/post-install.txt
Normal file
8
velhron/dadata-bundle/1.0/post-install.txt
Normal 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
|
||||
Reference in New Issue
Block a user