Download the PHP package globus-studio/phpqrcode without Composer
On this page you can find all versions of the php package globus-studio/phpqrcode. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package phpqrcode
phpQRcode
Zero-dependency QR Code generator for PHP 7.4–9.0.
Features
- Dead simple API - one line to generate QR
- Zero runtime dependencies
- PHP 7.4 / 8.0 / 8.1 / 8.2 / 8.3 / 8.4 / 8.5 / 9.0
- QR Code versions 1–40, all error correction levels
- Multiple output formats: SVG, PNG, HTML, ASCII, raw matrix
- ~100% test coverage (186 tests, 2209 assertions)
- PHPStan level max, zero errors
- 17x faster with fixed mask pattern
- PSR-4 autoloading
Requirements
- PHP >= 7.4
- ext-gd (optional, only for PNG rendering)
Installation
Usage
Options
Performance
By default the encoder tests all 8 mask patterns to find the optimal one. For batch generation or when speed matters, pass a fixed mask (0–7):
Object API
Error Correction Levels
| Level | Recovery |
|---|---|
| L | ~7% |
| M | ~15% |
| Q | ~25% |
| H | ~30% |
Renderers
| Renderer | Dependencies | Output |
|---|---|---|
| SvgRenderer | none | SVG XML string |
| HtmlRenderer | none | HTML table |
| StringRenderer | none | ASCII/UTF-8 |
| PngRenderer | ext-gd | PNG binary |
| RawRenderer | none | JSON / int[][] |
Credits
Inspired by the original QRCode for PHP by Kazuhiko Arase (2009). Rewritten from scratch with modern PHP practices, strict typing, full test coverage, and zero deprecations.
License
MIT - see LICENSE.
All versions of phpqrcode with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4 <10.0
The package globus-studio/phpqrcode contains the following files
Loading the files please wait ...