From dab19f2afe42d2e3dda1504f5834e36f2ecf0553 Mon Sep 17 00:00:00 2001 From: Casper Bakker Date: Tue, 25 Jul 2023 08:37:46 +0200 Subject: [PATCH] Update Readme.md --- Readme.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Readme.md b/Readme.md index 1a42d48..dfdfea2 100644 --- a/Readme.md +++ b/Readme.md @@ -34,6 +34,9 @@ $generator = new Picqer\Barcode\BarcodeGeneratorHTML(); echo $generator->getBarcode('081231723897', $generator::TYPE_CODE_128); ``` +Will result in this beauty:
+![Barcode 081231723897 as Code 128](tests/verified-files/081231723897-ean13.svg) + The `getBarcode()` method accepts the following parameters: - `$barcode` String needed to encode in the barcode - `$type` Type of barcode, use the constants defined in the class