Download the PHP package aicrion/qrcode without Composer
On this page you can find all versions of the php package aicrion/qrcode. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package qrcode
๐ฑ Aicrion QRCode
A modern, professional PHP 8.2+ library to generate and read QR codes from multiple sources and in multiple formats.
๐ Full Documentation
โจ Features
- ๐งฑ Modern architecture โ interfaces, immutable value objects, enums,
readonlyproperties (PHP 8.2+) - ๐ผ๏ธ Multiple output formats โ PNG, SVG, EPS, WEBP
- ๐ฅ Multiple input sources for reading โ file path, binary string, Base64, URL, GD image, stream resource
- ๐จ Full customization โ size, margin, colors, error correction level, embedded logo, caption label
- ๐ Structured payloads โ WiFi, Contact (vCard), Phone, SMS, Email, Geo location, Calendar events, URLs, with automatic type detection when reading
- ๐ Colored QR codes โ generate and reliably read back QR codes with fully custom foreground/background colors
- ๐งช Fully tested โ unit and feature tests with PHPUnit
- ๐ฆ Zero-config Composer install โ sane, production-ready defaults out of the box
- ๐งฏ Rich exception hierarchy โ precise, catchable error types for every failure mode
๐ฆ Installation
Requires PHP 8.2+ and the gd extension.
๐ Quick Start
Generate a QR Code
Read a QR Code
Or let the library auto-detect the source type:
๐จ Customization
๐ Supported Formats & Sources
| Capability | Supported Options |
|---|---|
| Output formats | PNG, SVG, EPS, WEBP |
| Error correction | LOW (L), MEDIUM (M), QUARTILE (Q), HIGH (H) |
| Read sources | File path, binary string, Base64/data URI, URL, GD image, stream resource |
๐ฎ๐ท Persian / Farsi & Unicode Support
Full UTF-8 support out of the box โ Persian, Arabic, Chinese, emoji, etc.
๐ Structured QR Codes (WiFi, Contact, Phone, etc.)
Reading automatically detects and parses the payload type:
See the Structured Payloads documentation for the full list of supported types.
๐ Colored QR Codes
๐งฏ Exception Handling
All exceptions extend Aicrion\QRCode\Exceptions\QRCodeException:
๐งช Testing
๐ Documentation
Full documentation, including the complete API reference, is available at:
https://aicrion.github.io/qrcode-php/
Table of contents: Installation ยท Quick Start ยท Generating QR Codes ยท Reading QR Codes ยท Structured Payloads ยท Colors & Styling ยท Configuration Options ยท Exception Handling ยท Examples ยท API Reference ยท Contributing ยท Changelog
๐ค Contributing
Contributions are welcome! Please open an issue or submit a pull request on GitHub.
- Fork the repository
- Create a feature branch
- Run
composer testandcomposer stan - Submit your pull request
๐ License
Created with โค๏ธ by Aicrion. Licensed under the MIT License. Free to use, modify, and distribute!
All versions of qrcode with dependencies
ext-gd Version *
bacon/bacon-qr-code Version ^3.0
khanamiryan/qrcode-detector-decoder Version ^2.0