diff --git a/config/packages/endroid_qr_code.yaml b/config/packages/endroid_qr_code.yaml new file mode 100644 index 0000000..2086887 --- /dev/null +++ b/config/packages/endroid_qr_code.yaml @@ -0,0 +1,9 @@ +endroid_qr_code: + default: + writer: Endroid\QrCode\Writer\PngWriter + size: 300 + margin: 10 + encoding: 'UTF-8' + errorCorrectionLevel: 'low' + roundBlockSizeMode: 'margin' + validateResult: false diff --git a/config/routes/endroid_qr_code.yaml b/config/routes/endroid_qr_code.yaml new file mode 100644 index 0000000..ceab54e --- /dev/null +++ b/config/routes/endroid_qr_code.yaml @@ -0,0 +1,3 @@ +endroid_qr_code: + resource: "@EndroidQrCodeBundle/Resources/config/routes.yaml" + prefix: /qr-code