2amigos / yii2-qrcode-helper
QrCode Generator
Requires
- php: ^8.3
- ext-gd: *
- ext-simplexml: *
- bacon/bacon-qr-code: ^3.0
- khanamiryan/qrcode-detector-decoder: ^2.0
Requires (Dev)
- codeception/codeception: ^5.1
- codeception/module-asserts: ^3.0
- codeception/module-filesystem: ^3.0
- codeception/module-laravel: ^3.2
- codeception/module-yii2: ^2.0
- codeception/specify: ^2.0
- codeception/verify: ^3.0
- friendsofphp/php-cs-fixer: ^3.75
- laravel/framework: ^12.0
- nyholm/psr7: ^1.8
- phpmd/phpmd: ^2.15
- phpstan/phpstan: ^2.1
- psr/http-factory: ^1.0
- psr/http-message: ^2.0
- psr/http-server-handler: ^1.0
- squizlabs/php_codesniffer: ^3.10
- yiisoft/yii2: ^2.0.52
Suggests
- ext-imagick: To render QR codes with the ImageMagick backend instead of the default GD backend
- laravel/framework: To use the Laravel QrCode blade component, service provider and factory
- psr/http-factory: Provides the PSR-17 factories required by the PSR-15 Da\QrCode\Bridge\Psr\QrCodeAction
- psr/http-message: To use the framework-agnostic PSR-15 Da\QrCode\Bridge\Psr\QrCodeAction (Yii3, Mezzio, Slim, ...)
- psr/http-server-handler: Provides the PSR-15 RequestHandlerInterface implemented by Da\QrCode\Bridge\Psr\QrCodeAction
- yiisoft/yii2: To use the Yii2 QrCode component and action
This package is auto-updated.
Last update: 2026-06-21 06:42:06 UTC
README
This library allows developers to generate QR codes with ease. It works standalone and also provides Yii2 components for its use on the framework.
Requirements
- PHP 8.3, 8.4 or 8.5
ext-gdext-simplexml
PNG and JPG output is rendered with a pure-GD backend by default, so no ImageMagick installation is required.
ImageMagick (ext-imagick) is optional and only needed if you explicitly opt into the Imagick backend — see the
upgrade guide and the troubleshooting guide.
Documentation
You can read the latest docs on https://qrcode-library.readthedocs.io/en/latest/
Contributing
Please see CONTRIBUTING for details.
Credits
License
The BSD License (BSD). Please see License File for more information.
Web development has never been so fun!
www.2am.tech