PHPackages                             life2016/yii2-qrcode-helper - 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. life2016/yii2-qrcode-helper

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

life2016/yii2-qrcode-helper
===========================

Create QrCodes based on libqrencode C library.

1.1(4y ago)09BSD-3-ClausePHP

Since Jun 21Pushed 4y agoCompare

[ Source](https://github.com/ran1990/qrcode-library)[ Packagist](https://packagist.org/packages/life2016/yii2-qrcode-helper)[ Docs](http://yiiwheels.com/extension/qrcode-helper)[ RSS](/packages/life2016-yii2-qrcode-helper/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (3)Versions (3)Used By (0)

QrCode Helper for Yii2
======================

[](#qrcode-helper-for-yii2)

QrCode helper allows you to render QrCodes on your Yii2 applications.

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require life2016/yii2-qrcode-helper:~1.0

```

or add

```
"life2016/yii2-qrcode-helper" : "~1.0"
```

to the require section of your application's `composer.json` file.

Usage
-----

[](#usage)

The helper comes with some format helper classes that will help you to create the different type of QrCodes that a mobile phone scanner will understand.

The library comes with the following formats:

- Bitcoin
- BookMark
- Geo
- iCal
- MailMessage
- MailTo
- MeCard
- MMS
- Phone
- Sms
- vCard
- Wifi
- Youtube

There are many more out there, we hope the community will helps us improve the library with `facebook`, `google maps`, `youtube`, and `market` links. If not, we will add them whenever we have time :)

To render the qrcode, add this to your HTML page:

```
