Skip to content

Commit 3791b72

Browse files
Add recipes for sylius/adyen-plugin:1.0
1 parent 8b46758 commit 3791b72

3 files changed

Lines changed: 54 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
imports:
2+
- { resource: "@SyliusAdyenPlugin/config/config.yaml" }
3+
4+
monolog:
5+
channels: ['adyen']
6+
handlers:
7+
adyen_doctrine:
8+
type: service
9+
id: sylius_adyen.logging.monolog.doctrine_handler
10+
channels: ['adyen']
11+
12+
when@dev:
13+
monolog:
14+
handlers:
15+
adyen_file:
16+
type: rotating_file
17+
path: '%kernel.logs_dir%/adyen-dev.log'
18+
max_files: 14
19+
level: debug
20+
channels: ['adyen']
21+
22+
when@prod:
23+
monolog:
24+
handlers:
25+
adyen_file:
26+
type: rotating_file
27+
path: '%kernel.logs_dir%/adyen-%kernel.environment%.log'
28+
max_files: 30
29+
level: info
30+
channels: ['adyen']
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
sylius_adyen_plugin:
2+
resource: "@SyliusAdyenPlugin/config/routes.yaml"
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"bundles": {
3+
"Sylius\\AdyenPlugin\\SyliusAdyenPlugin": ["all"]
4+
},
5+
"copy-from-recipe": {
6+
"config/": "%CONFIG_DIR%/"
7+
},
8+
"add-lines": [
9+
{
10+
"file": "assets/admin/entrypoint.js",
11+
"content": "import '../../vendor/sylius/adyen-plugin/assets/admin/entrypoint';",
12+
"position": "bottom",
13+
"warn_if_missing": true
14+
},
15+
{
16+
"file": "assets/shop/entrypoint.js",
17+
"content": "import '../../vendor/sylius/adyen-plugin/assets/shop/entrypoint';",
18+
"position": "bottom",
19+
"warn_if_missing": true
20+
}
21+
]
22+
}

0 commit comments

Comments
 (0)