[EXTENSION] QrCreator (release 0.1)

All greetings!!! I want to share the first extension for Yii which creates QR the code on the basis of your data

Installation:

  1. Extract the release file under protected/extensions

2)Introduce QR to Yii. Add definition to CWebApplication config file (main.php)


'components'=>array(

    ...

    'qr'=>array(

        'class'=>'application.extensions.qr.QIndex',

    ),

    ...

),

3)Now you can access QR method as follows:




Yii::app()->qr->createQR("My data",Yii::getPathOfAlias("webroot.tmp").DIRECTORY_SEPARATOR."upload.png");

I will supplement as far as possible expansion and to spread new releases

Cool and Thanks, I was looking for something like this :)

Regards.

Thanks. :)

i just needed it