Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
cccaimingjian committed Jun 1, 2023
1 parent 87b867e commit c68fb36
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,24 @@ THIS PROJECT require picqer/php-barcode-generator
## Just BARCODE
![just-barcode.png](demo%2Fjust-barcode.png)
## human-readable BARCODE
#### with content text and a Line in the middle of the barcode and text content
![human-barcode.png](demo%2Fhuman-barcode.png)
## Line Left side Detail
#### with a short vertical lines
![left.png](demo%2Fleft.png)
## Line Right side Detail
#### with a short vertical lines
![right.png](demo%2Fright.png)
The line in the middle of the barcode and text content is used to confirm whether the barcode is correct after printing. If it is broken, or the vertical lines at both ends are not there, it shows that there is a problem with the printer and the barcode may not be recognized correctly.
条码与文字内容中间的线,是用来确认打印后条码是否正确的。如果断了,或者两端的竖线没有,则显示说明打印机有问题,条码不一定能被正确识别。


### Here is simple USAGE
```php
$human_barcode = new \cccaimingjian\HumanBarcode\HumanBarcode();
$barcode_image_content = $human_barcode->createHumanBarcode('A-B-C-D-1-2-3456789');
$barcode_image_base64 = base64_encode($barcode_image_content);
```

### Mix Usage
```php

Expand Down
Binary file modified demo/human-barcode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c68fb36

Please sign in to comment.