|
@@ -7,16 +7,28 @@ Installation
|
|
|
|
|
|
The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
|
|
|
|
|
|
+Install
|
|
|
+-----
|
|
|
+1. Add to your composer.json
|
|
|
+```
|
|
|
+"repositories":[
|
|
|
+ {
|
|
|
+ "type": "git",
|
|
|
+ "url": "https://path.to/your/repo"
|
|
|
+ }
|
|
|
+]
|
|
|
+```
|
|
|
+
|
|
|
Either run
|
|
|
|
|
|
```
|
|
|
-php composer.phar require --prefer-dist ptenchik0/yii2-referral "*"
|
|
|
+php composer.phar require --prefer-dist reactlogic/yii2-referral "*"
|
|
|
```
|
|
|
|
|
|
or add
|
|
|
|
|
|
```
|
|
|
-"ptenchik0/yii2-referral": "*"
|
|
|
+"reactlogic/yii2-referral": "*"
|
|
|
```
|
|
|
|
|
|
to the require section of your `composer.json` file.
|
|
@@ -28,4 +40,4 @@ Usage
|
|
|
Once the extension is installed, simply use it in your code by :
|
|
|
|
|
|
```php
|
|
|
-<?= \ptenchik0\referral\AutoloadExample::widget(); ?>```
|
|
|
+<?= \reactlogic\referral\AutoloadExample::widget(); ?>```
|