PHPackages                             ferrumfist/vipip\_sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. ferrumfist/vipip\_sdk

ActiveLibrary[API Development](/categories/api)

ferrumfist/vipip\_sdk
=====================

PHP SDK for work with Vipip service

0.1.3(9y ago)011611MITPHPPHP &gt;=5.4.0

Since Feb 21Pushed 1y ago2 watchersCompare

[ Source](https://github.com/ferrumfist/vipip_sdk)[ Packagist](https://packagist.org/packages/ferrumfist/vipip_sdk)[ RSS](/packages/ferrumfist-vipip-sdk/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (1)Versions (6)Used By (1)

Vipip SDK
=========

[](#vipip-sdk)

Vipip SDK for PHP

[![VipIP Темная сторона рекламы](https://camo.githubusercontent.com/921a8b33b101df2a435521b8320ddd5e4dbecc2061026fae83a7071d59b7d9ba/68747470733a2f2f76697069702e72752f692f6c6f676f732f6c6f676f2e706e67)](https://camo.githubusercontent.com/921a8b33b101df2a435521b8320ddd5e4dbecc2061026fae83a7071d59b7d9ba/68747470733a2f2f76697069702e72752f692f6c6f676f732f6c6f676f2e706e67)

Table of contents
=================

[](#table-of-contents)

---

1. [Installation](#installation)
2. [Usage](#usage)
3. [Modules](#modules)
    - [User](#user)
    - [Services](#services)
4. [Service methods](#service-methods)

Installation
============

[](#installation)

---

It is recommended that you install the Vipip SDK library [through composer](http://getcomposer.org/). To do so, add the following lines to your `composer.json` file.

```
{
    "require": {
       "ferrumfist/vipip_sdk": "~0.1"
    }
}
```

Usage
=====

[](#usage)

---

At the beginning of the library must be initialized by calling the init method

```
VipIP::init([, $config]);
```

The following options can be passed as a configuration:

```
[
'lang'=>'ru',
'cache' => [
    'driver' => 'redis',
    'config' => [
        'host' => '127.0.0.1',
        'port' => '6379'
    ]
]
```

More information about the cache options, [click here](https://github.com/PHPSocialNetwork/phpfastcache)

Modules
=======

[](#modules)

---

SDK is divided into modules. You get the module to perform API requests

```
$user = VipIP::module('user');
```

User
----

[](#user)

**getBalance** - getting user`s balance

```
$user->getBalance();
```

**getDiscount** - getting user`s discount

```
$user->getDiscount();
```

Services
--------

[](#services)

Services it is a group of modules which includes Link, Task, Social

**create** - creating services

```
$link = VipIP::module('link')->create("My first link", "http://example.com");
```

**getList**, **getOne**- getting list of/one service(s)

```
$links = VipIP::module('link')->getList([43,648,474]);
$link = VipIP::module('link')->getOne(45);
```

Service methods
===============

[](#service-methods)

After creating/getting the service you have the object of service. To use a service, use the following methods:

**save** - saving attributes of service

```
$link->save([
	'title' => 'new titile',
	'url' => 'http://new_url.org'
]);
```

**changeBalance** - changing service balance

**changeStatus** - changing service status example

```
if( !$link->changeBalance(3, \Vipip\Service\Service::BALANCE_TYPE_DAYS) ){
   echo $link->getLastError();
}
```

The next group of methods gets / sets the objects for the service settings

**getTariff** - getting tariff

**setTariff** - setting tariff

**getInputReferer** - getting inputpoints and referers

**setInputReferer** - Setting inputpoints and referers

**getGeo** - getting geography settings

**setGeo** - setting geography settings

**getCalendar** - getting calendar settings

**setCalendar** - setting calendar settings

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~31 days

Total

4

Last Release

3321d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14904438?v=4)[ferrum\_fist](/maintainers/ferrumfist)[@ferrumfist](https://github.com/ferrumfist)

---

Top Contributors

[![ferrumfist](https://avatars.githubusercontent.com/u/14904438?v=4)](https://github.com/ferrumfist "ferrumfist (11 commits)")

---

Tags

sdkvipip

### Embed Badge

![Health badge](/badges/ferrumfist-vipip-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/ferrumfist-vipip-sdk/health.svg)](https://phpackages.com/packages/ferrumfist-vipip-sdk)
```

###  Alternatives

[appwilio/cdek-sdk

CDEK API SDK (cdek.ru)

406.5k](/packages/appwilio-cdek-sdk)[mocking-magician/coinbase-pro-sdk

Library for coinbase pro API calls

223.2k](/packages/mocking-magician-coinbase-pro-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
