Referral system desc
The preferred way to install this extension is through composer.
"repositories":[
{
"type": "git",
"url": "https://path.to/your/repo"
}
]
Either run
php composer.phar require --prefer-dist reactlogic/yii2-referral "*"
or add
"reactlogic/yii2-referral": "*"
to the require section of your composer.json
file.
Once the extension is installed, simply use it in your code by :
php
<?= \reactlogic\referral\AutoloadExample::widget(); ?>