yii2-referral system for cbd3

Oleg K a117b898a2 add model %!s(int64=4) %!d(string=hai) anos
controllers 60411bb86c step %!s(int64=4) %!d(string=hai) anos
models a117b898a2 add model %!s(int64=4) %!d(string=hai) anos
views a51a3ab969 step %!s(int64=4) %!d(string=hai) anos
AutoloadExample.php 60411bb86c step %!s(int64=4) %!d(string=hai) anos
Module.php 60411bb86c step %!s(int64=4) %!d(string=hai) anos
README.md 60411bb86c step %!s(int64=4) %!d(string=hai) anos
composer.json 60411bb86c step %!s(int64=4) %!d(string=hai) anos

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