From 71eb7db9882c685faae8c58e706bf02095f61018 Mon Sep 17 00:00:00 2001 From: afornerot Date: Sun, 3 Nov 2024 17:38:20 +0100 Subject: [PATCH] svg --- config/packages/endroid_qr_code.yaml | 9 +++++++++ config/routes/endroid_qr_code.yaml | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 config/packages/endroid_qr_code.yaml create mode 100644 config/routes/endroid_qr_code.yaml 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