From 2f854e69dcc399fd42e01e14946be9ca1b4d1f58 Mon Sep 17 00:00:00 2001 From: Davide Borsatto Date: Thu, 28 Jun 2018 10:09:59 +0200 Subject: [PATCH] Add support for ContentfulBundle --- .../3.0/config/packages/contentful.yaml | 6 ++++++ contentful/contentful-bundle/3.0/manifest.json | 12 ++++++++++++ contentful/contentful-bundle/3.0/post-install.txt | 8 ++++++++ 3 files changed, 26 insertions(+) create mode 100644 contentful/contentful-bundle/3.0/config/packages/contentful.yaml create mode 100644 contentful/contentful-bundle/3.0/manifest.json create mode 100644 contentful/contentful-bundle/3.0/post-install.txt diff --git a/contentful/contentful-bundle/3.0/config/packages/contentful.yaml b/contentful/contentful-bundle/3.0/config/packages/contentful.yaml new file mode 100644 index 00000000..f11ec052 --- /dev/null +++ b/contentful/contentful-bundle/3.0/config/packages/contentful.yaml @@ -0,0 +1,6 @@ +# For the complete configuration, please visit +# https://www.contentful.com/developers/docs/php/tutorials/getting-started-with-contentful-and-symfony/ +contentful: + delivery: + space: "%env(CONTENTFUL_SPACE_ID)%" + token: "%env(CONTENTFUL_ACCESS_TOKEN)%" diff --git a/contentful/contentful-bundle/3.0/manifest.json b/contentful/contentful-bundle/3.0/manifest.json new file mode 100644 index 00000000..78b61fb7 --- /dev/null +++ b/contentful/contentful-bundle/3.0/manifest.json @@ -0,0 +1,12 @@ +{ + "bundles": { + "Contentful\\ContentfulBundle\\ContentfulBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "CONTENTFUL_SPACE_ID": "required", + "CONTENTFUL_ACCESS_TOKEN": "required" + } +} diff --git a/contentful/contentful-bundle/3.0/post-install.txt b/contentful/contentful-bundle/3.0/post-install.txt new file mode 100644 index 00000000..3def7068 --- /dev/null +++ b/contentful/contentful-bundle/3.0/post-install.txt @@ -0,0 +1,8 @@ + + Next: ContentfulBundle Configuration + + + * Get your space ID and API key from https://www.contentful.com + and configure them in your .env + +Documentation: https://www.contentful.com/developers/docs/php/