|
|
4 anos atrás | |
|---|---|---|
| AutoloadExample.php | 4 anos atrás | |
| README.md | 4 anos atrás | |
| composer.json | 4 anos atrás |
Referral system desc
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist ptenchik0/yii2-referral "*"
or add
"ptenchik0/yii2-referral": "*"
to the require section of your composer.json file.
Once the extension is installed, simply use it in your code by :
php
<?= \ptenchik0\referral\AutoloadExample::widget(); ?>