Add support for ContentfulBundle

This commit is contained in:
Davide Borsatto
2018-06-28 10:45:56 +02:00
parent cf88348a08
commit 2f854e69dc
3 changed files with 26 additions and 0 deletions
@@ -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)%"
@@ -0,0 +1,12 @@
{
"bundles": {
"Contentful\\ContentfulBundle\\ContentfulBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"CONTENTFUL_SPACE_ID": "required",
"CONTENTFUL_ACCESS_TOKEN": "required"
}
}
@@ -0,0 +1,8 @@
<bg=blue;fg=white> </>
<bg=blue;fg=white> Next: ContentfulBundle Configuration </>
<bg=blue;fg=white> </>
* Get your space ID and API key from https://www.contentful.com
and configure them in your <fg=green>.env</>
Documentation: https://www.contentful.com/developers/docs/php/