Table of contents
Namespace: Com\Tecnick\Barcode\Type\Square\MicroQrCode
File: Data.php line 34
Symbol tables for the MicroQrCode Barcode type class
Tags
- since: 2026-09-01
- category: Library
- author: Nicola Asuni info@tecnick.com
- copyright: 2015-2026 Nicola Asuni - Tecnick.com LTD
- license: https://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE)
- link: https://github.com/tecnickcom/tc-lib-barcode
Constants
COUNT_BITS
File: Data.php line 100
public array<int, array<int, int>> COUNT_BITS = [1 => [3, -1, -1], 2 => [4, 3, -1], 3 => [5, 4, 4], 4 => [6, 5, 5]]
A negative value marks a mode that the version does not support.
FORMAT_GENERATOR
File: Data.php line 145
public int FORMAT_GENERATOR = 0b10100110111
FORMAT_MASK
File: Data.php line 152
public int FORMAT_MASK = 0b100010001000101
MODE_ALPHANUM
File: Data.php line 48
public int MODE_ALPHANUM = 1
MODE_BITS
File: Data.php line 75
public array<int, int> MODE_BITS = [1 => 0, 2 => 1, 3 => 2, 4 => 3]
Version M1 carries no mode indicator.
MODE_BYTE
File: Data.php line 55
public int MODE_BYTE = 2
MODE_NUMERIC
File: Data.php line 41
public int MODE_NUMERIC = 0
NUMERIC_REMAINDER_BITS
File: Data.php line 131
public array<int, int> NUMERIC_REMAINDER_BITS = [0, 4, 7]
PAD_CODEWORDS
File: Data.php line 138
public array<int, int> PAD_CODEWORDS = [0xec, 0x11]
SIZE
File: Data.php line 62
public array<int, int> SIZE = [1 => 11, 2 => 13, 3 => 15, 4 => 17]
SYMBOLS
File: Data.php line 115
public array<int, array{int, string, int, int, int}> SYMBOLS = [0 => [1, '', 3, 20, 2], 1 => [2, 'L', 5, 40, 5], 2 => [2, 'M', 4, 32, 6], 3 => [3, 'L', 11, 84, 6], 4 => [3, 'M', 9, 68, 8], 5 => [4, 'L', 16, 128, 8], 6 => [4, 'M', 14, 112, 10], 7 => [4, 'Q', 10, 80, 14]]
TERMINATOR_BITS
File: Data.php line 87
public array<int, int> TERMINATOR_BITS = [1 => 3, 2 => 5, 3 => 7, 4 => 9]