mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
45 lines
1.8 KiB
JSON
45 lines
1.8 KiB
JSON
{
|
|
"manifests": {
|
|
"sylius/paypal-plugin": {
|
|
"manifest": {
|
|
"bundles": {
|
|
"Sylius\\PayPalPlugin\\SyliusPayPalPlugin": [
|
|
"all"
|
|
]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/"
|
|
},
|
|
"add-lines": [
|
|
{
|
|
"file": "config/packages/fos_rest.yaml",
|
|
"position": "after_target",
|
|
"warn_if_missing": true,
|
|
"target": "fos_rest:",
|
|
"content": " ###> sylius/paypal-plugin ###\n exception: true\n view:\n formats:\n json: true\n xml: true\n empty_content: 204\n format_listener:\n rules:\n - { path: '^/api/.*', priorities: ['json', 'xml'], fallback_format: json, prefer_extension: true }\n - { path: '^/', stop: true }\n ###< sylius/paypal-plugin ###\n"
|
|
}
|
|
]
|
|
},
|
|
"files": {
|
|
"config/packages/sylius_paypal.yaml": {
|
|
"contents": [
|
|
"imports:",
|
|
" - { resource: \"@SyliusPayPalPlugin/config/config.yaml\" }",
|
|
""
|
|
],
|
|
"executable": false
|
|
},
|
|
"config/routes/sylius_paypal.yaml": {
|
|
"contents": [
|
|
"sylius_paypal:",
|
|
" resource: \"@SyliusPayPalPlugin/config/routes.yaml\"",
|
|
""
|
|
],
|
|
"executable": false
|
|
}
|
|
},
|
|
"ref": "57902d9acd42347cbd964c996e75df0ac9028c9b"
|
|
}
|
|
}
|
|
}
|