|
|
4 سال پیش | |
|---|---|---|
| controllers | 4 سال پیش | |
| views | 4 سال پیش | |
| AutoloadExample.php | 4 سال پیش | |
| Module.php | 4 سال پیش | |
| README.md | 4 سال پیش | |
| composer.json | 4 سال پیش |
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(); ?>