From 9af2cc8606ef413eb8b5eefd851fffe4882906dd Mon Sep 17 00:00:00 2001 From: Davide Borsatto Date: Mon, 18 Feb 2019 15:32:24 +0100 Subject: [PATCH] Add support for ContentfulBundle 4.0 --- .../4.0/config/packages/contentful.yaml | 7 +++++++ contentful/contentful-bundle/4.0/manifest.json | 14 ++++++++++++++ contentful/contentful-bundle/4.0/post-install.txt | 8 ++++++++ 3 files changed, 29 insertions(+) create mode 100644 contentful/contentful-bundle/4.0/config/packages/contentful.yaml create mode 100644 contentful/contentful-bundle/4.0/manifest.json create mode 100644 contentful/contentful-bundle/4.0/post-install.txt diff --git a/contentful/contentful-bundle/4.0/config/packages/contentful.yaml b/contentful/contentful-bundle/4.0/config/packages/contentful.yaml new file mode 100644 index 00000000..995ee7c2 --- /dev/null +++ b/contentful/contentful-bundle/4.0/config/packages/contentful.yaml @@ -0,0 +1,7 @@ +# For the complete configuration, please visit +# https://www.contentful.com/developers/docs/php/tutorials/getting-started-with-contentful-and-symfony/ +contentful: + delivery: + main: + token: "%env(CONTENTFUL_ACCESS_TOKEN)%" + space: "%env(CONTENTFUL_SPACE_ID)%" diff --git a/contentful/contentful-bundle/4.0/manifest.json b/contentful/contentful-bundle/4.0/manifest.json new file mode 100644 index 00000000..a01f1951 --- /dev/null +++ b/contentful/contentful-bundle/4.0/manifest.json @@ -0,0 +1,14 @@ +{ + "bundles": { + "Contentful\\ContentfulBundle\\ContentfulBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "CONTENTFUL_SPACE_ID": "cfexampleapi", + "CONTENTFUL_ACCESS_TOKEN": "b4c0n73n7fu1" + } +} diff --git a/contentful/contentful-bundle/4.0/post-install.txt b/contentful/contentful-bundle/4.0/post-install.txt new file mode 100644 index 00000000..3def7068 --- /dev/null +++ b/contentful/contentful-bundle/4.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/