File tree Expand file tree Collapse file tree 1 file changed +34
-2
lines changed
Expand file tree Collapse file tree 1 file changed +34
-2
lines changed Original file line number Diff line number Diff line change @@ -31,16 +31,48 @@ Barcoder::datamatrix('data to encode')->toSvg();
3131#### Code 128
3232``` php
3333Barcoder::code128('data to encode')->toSvg();
34+
35+ Barcoder::code128('data to encode')->hideLabel()->toSvg();
36+ ```
37+
38+ #### EAN-8
39+ ``` php
40+ Barcoder::ean8('12345678')->toSvg();
41+
42+ Barcoder::ean8('12345678')->hideLabel()->toSvg();
43+
44+ // check digit will automatically be calculated
45+ Barcoder::ean8('1234567*')->toSvg();
46+ ```
47+
48+ #### EAN-13
49+ ``` php
50+ Barcoder::ean8('1234567890123')->toSvg();
51+
52+ Barcoder::ean8('1234567890123')->hideLabel()->toSvg();
53+
54+ // check digit will automatically be calculated
55+ Barcoder::ean8('123456789012')->toSvg();
3456```
3557
3658#### UPC-A
3759``` php
38- Barcoder::upca('data to encode')->toSvg();
60+ Barcoder::upca('123456789012')->toSvg();
61+
62+ Barcoder::upca('123456789012')->hideLabel()->toSvg();
63+
64+ // check digit will automatically be calculated
65+ Barcoder::upca('12345678901')->toSvg();
3966```
4067
4168#### UPC-E
4269``` php
43- Barcoder::code128('data to encode')->toSvg();
70+ Barcoder::upce('123456')->toSvg();
71+
72+ Barcoder::upce('123456')->hideLabel()->toSvg();
73+
74+ // check digit will automatically be calculated
75+ Barcoder::upce('12345')->toSvg();
4476```
4577
4678## Testing
You can’t perform that action at this time.
0 commit comments