added svc-bundles to recipes-contrib (#1186)

* added tree svc bundle

* -

Co-authored-by: Fabien Potencier <fabien@potencier.org>
This commit is contained in:
Sven-Ve
2021-08-03 23:32:35 +02:00
committed by GitHub
co-authored by Fabien Potencier
parent 4c70975762
commit decdb814f6
12 changed files with 64 additions and 0 deletions
@@ -0,0 +1,8 @@
.svc-contactform {
width: 100%;
max-width: 700px;
padding: 15px;
margin: auto;
border-radius: 15px;
box-shadow: 0 5px 5px rgba(0,0,0,.4);
}
@@ -0,0 +1,6 @@
svc_contactform:
# Email adress for contact mails
contact_mail: dev@sv-systems.com
# Which route should by called after amil sent
route_after_send: index
@@ -0,0 +1,3 @@
_svc_contactform:
resource: '@SvcContactformBundle/src/Resources/config/routes.xml'
prefix: /svc-contactform/{_locale}
+11
View File
@@ -0,0 +1,11 @@
{
"bundles": {
"Svc\\ContactformBundle\\SvcContactformBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"assets/": "assets/"
}
}
@@ -0,0 +1 @@
* Please adapt config/packages/svc-contactform.yaml
+3
View File
@@ -0,0 +1,3 @@
_svc_param:
resource: '@SvcParamBundle/src/Resources/config/routes.xml'
prefix: /svc-param/{_locale}
+10
View File
@@ -0,0 +1,10 @@
{
"bundles": {
"Svc\\ParamBundle\\SvcParamBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}
+1
View File
@@ -0,0 +1 @@
* Please adapt config/routes/svc-param.yaml and define your route
@@ -0,0 +1,7 @@
# Default configuration for "SvcUtilBundle"
svc_util:
mailer:
# Default sender mail address
mail_address: dev@sv-systems.com
# Default sender name
mail_name: 'Test User'
+3
View File
@@ -0,0 +1,3 @@
_svc_util:
resource: '@SvcUtilBundle/src/Resources/config/routes.xml'
prefix: /svc-util/{_locale}
+10
View File
@@ -0,0 +1,10 @@
{
"bundles": {
"Svc\\UtilBundle\\SvcUtilBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}
+1
View File
@@ -0,0 +1 @@
* Please adapt config/packages/svc-util.yaml