README.md 670 B

Referral system

Referral system desc

Installation

The preferred way to install this extension is through composer.

Install

  1. Add to your composer.json "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.

Usage

Once the extension is installed, simply use it in your code by :

php <?= \reactlogic\referral\AutoloadExample::widget(); ?>