mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
Add support for ContentfulBundle 4.0
This commit is contained in:
@@ -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)%"
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Contentful\\ContentfulBundle\\ContentfulBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"CONTENTFUL_SPACE_ID": "cfexampleapi",
|
||||
"CONTENTFUL_ACCESS_TOKEN": "b4c0n73n7fu1"
|
||||
}
|
||||
}
|
||||
@@ -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/
|
||||
Reference in New Issue
Block a user