Skip to content

Commit 08b96c0

Browse files
committed
:octocat:
1 parent 9941a0a commit 08b96c0

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespaced, cleaned up, improved and other stuff.
1616
[packagist-badge]: https://img.shields.io/packagist/v/chillerlan/php-qrcode.svg?style=flat-square
1717
[packagist]: https://packagist.org/packages/chillerlan/php-qrcode
1818
[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
2020
[travis-badge]: https://img.shields.io/travis/chillerlan/php-qrcode.svg?style=flat-square
2121
[travis]: https://travis-ci.org/chillerlan/php-qrcode
2222
[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.
2626
[downloads-badge]: https://img.shields.io/packagist/dt/chillerlan/php-qrcode.svg?style=flat-square
2727
[downloads]: https://packagist.org/packages/chillerlan/php-qrcode/stats
2828
[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
3030
[gh-action-badge]: https://github.com/chillerlan/php-qrcode/workflows/Continuous%20Integration/badge.svg
3131
[gh-action]: https://github.com/chillerlan/php-qrcode/actions
3232

@@ -50,7 +50,7 @@ via terminal: `composer require chillerlan/php-qrcode`
5050
{
5151
"require": {
5252
"php": "^7.2",
53-
"chillerlan/php-qrcode": "dev-master"
53+
"chillerlan/php-qrcode": "^3.4"
5454
}
5555
}
5656
```
@@ -65,8 +65,8 @@ echo '<img src="'.(new QRCode)->render($data).'" alt="QR Code" />';
6565
```
6666

6767
<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">
7070
</p>
7171

7272
Wait, what was that? Please again, slower!
@@ -342,6 +342,7 @@ method | return | description
342342
`get(int $x, int $y)` | int | returns the value of the module
343343
`set(int $x, int $y, bool $value, int $M_TYPE)` | `QRMatrix` | sets the `$M_TYPE` value for the module
344344
`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
345346

346347
#### `QRMatrix` constants
347348
name | light (false) | dark (true) | description
@@ -379,6 +380,7 @@ http://www.denso-wave.com/qrcode/faqpatent-e.html
379380
- WordPress [Simple 2FA `simple-2fa`](https://wordpress.org/plugins/simple-2fa/)
380381
- WoltLab Suite [two-step-verification](http://pluginstore.woltlab.com/file/3007-two-step-verification/)
381382
- [Cachet](https://github.com/CachetHQ/Cachet)
383+
- [Appwrite](https://github.com/appwrite/appwrite)
382384
- other uses: [dependents](https://github.com/chillerlan/php-qrcode/network/dependents) / [packages](https://github.com/chillerlan/php-qrcode/network/dependents?dependent_type=PACKAGE)
383385

384386

0 commit comments

Comments
 (0)