PHPackages                             technicalguru/qrcode - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. technicalguru/qrcode

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

technicalguru/qrcode
====================

Composer-friendly version of phpqrcode

v0.9.2(3y ago)313.8k↓50%1[1 issues](https://github.com/technicalguru/php-qrcode/issues)LGPL-3.0-or-laterPHPPHP &gt;=7.0.0

Since Apr 17Pushed 3y ago2 watchersCompare

[ Source](https://github.com/technicalguru/php-qrcode)[ Packagist](https://packagist.org/packages/technicalguru/qrcode)[ RSS](/packages/technicalguru-qrcode/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

technicalguru/qrcode
====================

[](#technicalguruqrcode)

This is PHP implementation of QR Code 2-D barcode generator. It is pure-php LGPL-licensed implementation based on C libqrencode by Kentaro Fukuchi. This fork was restructured to work in a special namespace and with composer.

LICENSE
=======

[](#license)

This project is licensed under [GNU LGPL 3.0](LICENSE.md).

INSTALLATION AND USAGE
======================

[](#installation-and-usage)

By Composer
-----------

[](#by-composer)

```
composer install technicalguru/qrcode

```

By Package Download
-------------------

[](#by-package-download)

You can download the source code packages from [GitHub Release Page](https://github.com/technicalguru/php-qrcode/releases)

SIMPLE EXAMPLE USAGE
====================

[](#simple-example-usage)

```
$text = 'This is an example QR code';
$file = __DIR__.'/example-qr.png';

\QR\QRcode::png($text, $file, QR_ECLEVEL_L, 8);

echo 'QR code saved at '.$file;

```

ADVANCED EXAMPLE USAGE
======================

[](#advanced-example-usage)

```
