You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[`ext-imagick`](https://github.com/Imagick/imagick) with [ImageMagick](https://imagemagick.org) installed
42
42
-[`setasign/fpdf`](https://github.com/setasign/fpdf) for the PDF output module
43
43
44
44
For the QRCode reader, either `ext-gd` or `ext-imagick` is required!
45
45
46
46
### Installation
47
47
**requires [composer](https://getcomposer.org)**
48
48
49
-
via terminal: `composer require chillerlan/php-qrcode`
50
-
51
-
*composer.json*
49
+
via terminal:
50
+
```
51
+
composer require chillerlan/php-qrcode
52
+
```
53
+
via `composer.json`:
52
54
```json
53
55
{
54
56
"require": {
@@ -57,17 +59,8 @@ via terminal: `composer require chillerlan/php-qrcode`
57
59
}
58
60
}
59
61
```
60
-
61
62
Note: replace `dev-main` with a [version constraint](https://getcomposer.org/doc/articles/versions.md#writing-version-constraints), e.g. `^4.3` - see [releases](https://github.com/chillerlan/php-qrcode/releases) for valid versions.
62
-
For PHP version ...
63
-
- 7.4+ use `^4.3`
64
-
- 7.2+ use `^3.4.1` (v3.4.1 also supports PHP8)
65
-
- 7.0+ use `^2.0`
66
-
- 5.6+ use `^1.0` (please let PHP 5 die!)
67
-
68
-
In case you want to keep using `dev-main`, specify the hash of a commit to avoid running into unforseen issues like so: `dev-main#cb69751c3bc090a7fdd2f2601bbe10f28d225f10`
69
-
70
-
PSA: [PHP 7.0 - 7.3 are EOL](https://www.php.net/supported-versions.php) and therefore the respective `QRCode` versions are also no longer supported!
63
+
See [the installation guide on the wiki](https://github.com/chillerlan/php-qrcode/wiki/Installation) for more info!
71
64
72
65
### Quickstart
73
66
We want to encode this URI for a mobile authenticator into a QRcode image:
0 commit comments