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
Provides
None
Conflicts
None
Replaces
None
- dev-master / 4.0.x-dev
- 4.0.0
- 3.1.0
- 3.0.2
- 3.0.1
- 3.0.0
- 3.0.0-beta
- 2.0.0
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.1.0
- dev-fix/release-4.0.0
- dev-develop
- dev-2amjsouza-patch-2
- dev-add_mkdocs_ml
- dev-fix_docs_build
- dev-feature/laravel_blade_component
- dev-feature/gradient_foreground
- dev-patch_fix_label_for_svg_add_features_to_actions
- dev-feature/use_alpha_color_to_foreground
- dev-patch/fix_docs/add_logo_resize_feature_and_logo_feature_to_svg_format
- dev-2amjsouza-patch-1
- dev-config/update_docs_and_ci_workflow
- dev-feature/refactor_to_support_bacon_barcode_2
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