mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
58 lines
2.5 KiB
JSON
58 lines
2.5 KiB
JSON
{
|
|
"manifests": {
|
|
"commercetools/symfony-bundle": {
|
|
"manifest": {
|
|
"bundles": {
|
|
"Commercetools\\Symfony\\CtpBundle\\CtpBundle": [
|
|
"all"
|
|
],
|
|
"Commercetools\\Symfony\\SetupBundle\\SetupBundle": [
|
|
"dev"
|
|
],
|
|
"Commercetools\\Symfony\\StateBundle\\StateBundle": [
|
|
"dev"
|
|
]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/"
|
|
},
|
|
"env": {
|
|
"CTP_CLIENT_ID": "<your-client-id>",
|
|
"CTP_CLIENT_SECRET": "<your-client-secret>",
|
|
"CTP_PROJECT_KEY": "<your-project-id>",
|
|
"CTP_AUTH_URL": "https://auth.commercetools.com",
|
|
"CTP_API_URL": "https://api.commercetools.com",
|
|
"CTP_SCOPES": "<your-desired-scopes>"
|
|
},
|
|
"post-install-output": [
|
|
" * Get your API client credentials from https://mc.commercetools.com or",
|
|
" https://mc.commercetools.co and configure them in your <bg=black;fg=green>.env</>",
|
|
"",
|
|
" * commercetools-symfony-bundle documentation https://github.com/commercetools/commercetools-php-symfony",
|
|
"",
|
|
" * commercetools API Documentation: https://docs.commercetools.com/http-api.html"
|
|
]
|
|
},
|
|
"files": {
|
|
"config/packages/commercetools.yaml": {
|
|
"contents": [
|
|
"commercetools:",
|
|
" api:",
|
|
" default_client: 'default'",
|
|
" clients:",
|
|
" default:",
|
|
" client_id: '%env(CTP_CLIENT_ID)%'",
|
|
" client_secret: '%env(CTP_CLIENT_SECRET)%'",
|
|
" project: '%env(CTP_PROJECT_KEY)%'",
|
|
" scope: '%env(CTP_SCOPES)%'",
|
|
" oauth_url: '%env(CTP_AUTH_URL)%'",
|
|
" api_url: '%env(CTP_API_URL)%'",
|
|
""
|
|
],
|
|
"executable": false
|
|
}
|
|
},
|
|
"ref": "6bc24cf7e057c8ff6b1631eae1404ba928b893c3"
|
|
}
|
|
}
|
|
} |