Oleg K a117b898a2 add model | 2 years ago | |
---|---|---|
controllers | 2 years ago | |
models | 2 years ago | |
views | 2 years ago | |
AutoloadExample.php | 2 years ago | |
Module.php | 2 years ago | |
README.md | 2 years ago | |
composer.json | 2 years ago |
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(); ?>