2017 © Pedro Peláez
 

yii2-extension yii2-zagruzka

Client for api zagruzka.com

image

sevenfloor/yii2-zagruzka

Client for api zagruzka.com

  • Monday, July 4, 2016
  • by ignatenkovnikita
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Client for api zagruzka.com

Client for api zagruzka.com, (*1)

Latest Stable Version Total Downloads Latest Unstable Version License composer.lock available, (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

php composer.phar require --prefer-dist sevenfloor/yii2-zagruzka "*"

or add, (*5)

"sevenfloor/yii2-zagruzka": "*"

to the require section of your composer.json file., (*6)

Usage

Add this to your main configuration's components array:, (*7)

'clientZagruzka' => [
            'class' => \sevenfloor\zagruzka\ClientZagruzka::className() ,
            'url' => 'zagruzka.url',
            'login' => 'your_login',
            'pass' => 'your_password',
            'urlCallback' => 'partner.url'
        ],

Typical component usage

Yii::$app->clientZagruzka->pay(phone, sum);
Yii::$app->clientZagruzka->balance();

The Versions

04/07 2016

dev-master

9999999-dev

Client for api zagruzka.com

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2 zagruzka