@@ -16,7 +16,7 @@ namespaced, cleaned up, improved and other stuff.
16
16
[ packagist-badge ] : https://img.shields.io/packagist/v/chillerlan/php-qrcode.svg?style=flat-square
17
17
[ packagist ] : https://packagist.org/packages/chillerlan/php-qrcode
18
18
[ license-badge ] : https://img.shields.io/github/license/chillerlan/php-qrcode.svg?style=flat-square
19
- [ license ] : https://github.com/chillerlan/php-qrcode/blob/master /LICENSE
19
+ [ license ] : https://github.com/chillerlan/php-qrcode/blob/main /LICENSE
20
20
[ travis-badge ] : https://img.shields.io/travis/chillerlan/php-qrcode.svg?style=flat-square
21
21
[ travis ] : https://travis-ci.org/chillerlan/php-qrcode
22
22
[ coverage-badge ] : https://img.shields.io/codecov/c/github/chillerlan/php-qrcode.svg?style=flat-square
@@ -26,7 +26,7 @@ namespaced, cleaned up, improved and other stuff.
26
26
[ downloads-badge ] : https://img.shields.io/packagist/dt/chillerlan/php-qrcode.svg?style=flat-square
27
27
[ downloads ] : https://packagist.org/packages/chillerlan/php-qrcode/stats
28
28
[ donate-badge ] : https://img.shields.io/badge/donate-paypal-ff33aa.svg?style=flat-square
29
- [ donate ] : https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick& hosted_button_id=WLYUNAT9ZTJZ4
29
+ [ donate ] : https://www.paypal.com/donate? hosted_button_id=WLYUNAT9ZTJZ4
30
30
[ gh-action-badge ] : https://github.com/chillerlan/php-qrcode/workflows/Continuous%20Integration/badge.svg
31
31
[ gh-action ] : https://github.com/chillerlan/php-qrcode/actions
32
32
@@ -50,7 +50,7 @@ via terminal: `composer require chillerlan/php-qrcode`
50
50
{
51
51
"require" : {
52
52
"php" : " ^7.2" ,
53
- "chillerlan/php-qrcode" : " dev-master "
53
+ "chillerlan/php-qrcode" : " ^3.4 "
54
54
}
55
55
}
56
56
```
@@ -65,8 +65,8 @@ echo '<img src="'.(new QRCode)->render($data).'" alt="QR Code" />';
65
65
```
66
66
67
67
<p align =" center " >
68
- <img alt="QR codes are awesome!" src="https://raw.githubusercontent.com/chillerlan/php-qrcode/master /examples/example_image.png">
69
- <img alt="QR codes are awesome!" src="https://raw.githubusercontent.com/chillerlan/php-qrcode/master /examples/example_svg.png">
68
+ <img alt="QR codes are awesome!" src="https://raw.githubusercontent.com/chillerlan/php-qrcode/main /examples/example_image.png">
69
+ <img alt="QR codes are awesome!" src="https://raw.githubusercontent.com/chillerlan/php-qrcode/main /examples/example_svg.png">
70
70
</p >
71
71
72
72
Wait, what was that? Please again, slower!
@@ -342,6 +342,7 @@ method | return | description
342
342
` get(int $x, int $y) ` | int | returns the value of the module
343
343
` set(int $x, int $y, bool $value, int $M_TYPE) ` | ` QRMatrix ` | sets the ` $M_TYPE ` value for the module
344
344
` check(int $x, int $y) ` | bool | checks whether a module is true (dark) or false (light)
345
+ ` setLogoSpace(int $width, int $height, int $startX = null, int $startY = null) ` | ` QRMatrix ` | creates a logo space in the matrix
345
346
346
347
#### ` QRMatrix ` constants
347
348
name | light (false) | dark (true) | description
@@ -379,6 +380,7 @@ http://www.denso-wave.com/qrcode/faqpatent-e.html
379
380
- WordPress [ Simple 2FA ` simple-2fa ` ] ( https://wordpress.org/plugins/simple-2fa/ )
380
381
- WoltLab Suite [ two-step-verification] ( http://pluginstore.woltlab.com/file/3007-two-step-verification/ )
381
382
- [ Cachet] ( https://github.com/CachetHQ/Cachet )
383
+ - [ Appwrite] ( https://github.com/appwrite/appwrite )
382
384
- other uses: [ dependents] ( https://github.com/chillerlan/php-qrcode/network/dependents ) / [ packages] ( https://github.com/chillerlan/php-qrcode/network/dependents?dependent_type=PACKAGE )
383
385
384
386
0 commit comments