small knp-snappy-bundle recipe

This commit is contained in:
Jerzy Zawadzki
2017-11-18 11:16:16 +02:00
parent f546718680
commit 3a2e1c2c68
2 changed files with 21 additions and 0 deletions
@@ -0,0 +1,9 @@
knp_snappy:
pdf:
enabled: true
binary: '%env(WKHTMLTOPDF_PATH)%'
options: []
image:
enabled: true
binary: '%env(WKHTMLTOIMAGE_PATH)%'
options: []
@@ -0,0 +1,12 @@
{
"bundles": {
"Knp\\Bundle\\SnappyBundle\\KnpSnappyBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"WKHTMLTOPDF_PATH": "\"/usr/local/bin/wkhtmltopdf\"",
"WKHTMLTOIMAGE_PATH": "\"/usr/local/bin/wkhtmltoimage\""
}
}