From fa25b451e5d0d619d4f689a7a1a33763f974155a Mon Sep 17 00:00:00 2001 From: Velhron Date: Thu, 11 Mar 2021 10:25:10 +0300 Subject: [PATCH] Add recipe for DadataBundle --- .../dadata-bundle/1.0/config/packages/dadata.yaml | 3 +++ velhron/dadata-bundle/1.0/manifest.json | 12 ++++++++++++ velhron/dadata-bundle/1.0/post-install.txt | 8 ++++++++ 3 files changed, 23 insertions(+) create mode 100644 velhron/dadata-bundle/1.0/config/packages/dadata.yaml create mode 100644 velhron/dadata-bundle/1.0/manifest.json create mode 100644 velhron/dadata-bundle/1.0/post-install.txt diff --git a/velhron/dadata-bundle/1.0/config/packages/dadata.yaml b/velhron/dadata-bundle/1.0/config/packages/dadata.yaml new file mode 100644 index 00000000..760f0911 --- /dev/null +++ b/velhron/dadata-bundle/1.0/config/packages/dadata.yaml @@ -0,0 +1,3 @@ +velhron_dadata: + token: '%env(DADATA_TOKEN)%' + private_key: '%env(DADATA_SECRET)%' diff --git a/velhron/dadata-bundle/1.0/manifest.json b/velhron/dadata-bundle/1.0/manifest.json new file mode 100644 index 00000000..8ce7f337 --- /dev/null +++ b/velhron/dadata-bundle/1.0/manifest.json @@ -0,0 +1,12 @@ +{ + "bundles": { + "Velhron\\DadataBundle\\VelhronDadataBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "DADATA_TOKEN": "your-token", + "DADATA_SECRET": "your-secret" + } +} diff --git a/velhron/dadata-bundle/1.0/post-install.txt b/velhron/dadata-bundle/1.0/post-install.txt new file mode 100644 index 00000000..48acca3d --- /dev/null +++ b/velhron/dadata-bundle/1.0/post-install.txt @@ -0,0 +1,8 @@ + + What`s next? + + + * Modify your DADATA_TOKEN config in .env + * Modify your DADATA_SECRET config in .env + +More details: https://github.com/Velhron/dadata-bundle