mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
small knp-snappy-bundle recipe
This commit is contained in:
@@ -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\""
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user