yii2-referral system for cbd3

Oleg K a117b898a2 add model 2 years ago
controllers 60411bb86c step 2 years ago
models a117b898a2 add model 2 years ago
views a51a3ab969 step 2 years ago
AutoloadExample.php 60411bb86c step 2 years ago
Module.php 60411bb86c step 2 years ago
README.md 60411bb86c step 2 years ago
composer.json 60411bb86c step 2 years ago

README.md

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(); ?>