PHPackages                             noc-med/tvkur-api-php-client - 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. noc-med/tvkur-api-php-client

ActiveLibrary

noc-med/tvkur-api-php-client
============================

Tvkur Api Php Sdk

071PHP

Since Jul 4Pushed 10y ago2 watchersCompare

[ Source](https://github.com/nocvp/tvkur-api-php-client)[ Packagist](https://packagist.org/packages/noc-med/tvkur-api-php-client)[ RSS](/packages/noc-med-tvkur-api-php-client/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Tvkur Api Php SDK
=================

[](#tvkur-api-php-sdk)

Introduction
------------

[](#introduction)

This module has been written for TVKUR API

Installation
------------

[](#installation)

For the installation uses composer composer. Add this project in your composer.json:

```
"require": {
    "noc-med/tvkur-api-php-client": "dev-master"
}

```

if you don't have the composer.phar ()

Requirements
------------

[](#requirements)

Php 5.5 or Higher versions. Php curl extension is needed. zendframework/zend-http

Configuration
-------------

[](#configuration)

```
$configs = array (
    'tvkur' => array(
        'api_url' => 'https://api.tvkur.com',
        'authentication' => array(
            'oauth' => array(
                'grant_type' => 'client_credentials',
                'client_id' => '61414062410',
                'client_secret' => '18f98c0c61d091c985c1f4ebb5439158',
                // 'username' => '',
                // 'password' => '',
            )
        )
    )
)

```

Using
-----

[](#using)

```
$tvkurApiClient = new TvkurApiClient\TvkurApiClient(
    array(
        'configs' => $configs
        'expire_in' => $expires_in, //optional
        'acces_token' => $access_token, //optional
        'token_type' => $token_type, //optional
        'scope' => , => $scope, //optional
        'api_path' => $api_path, //optional
    )
);
$response = $tvkurApiClient->video()->get($id, (array) $queryParams);

```

or

```
$tvkurApiClient = new TvkurApiClient\TvkurApiClient();
$tvkurApiClient->setConfigs($configs);
$response = $tvkurApiClient->video()->get($id, (array) $queryParams);

$response = $tvkurApiClient->video()->get(null, array('title' => 'test title'));
$response = $tvkurApiClient->video()->get(null, array('categoryId' => 4));
$response = $tvkurApiClient->video()->get(null, array('categoryName' => 'test category name'));
$response = $tvkurApiClient->stream()->get(null, array('title' => 'test title'));
$response = $tvkurApiClient->playout()->get(null, array('title' => 'test title'));

```

Response content

```
$response->getJsonResponse(); //salt json body
$response->getArrayResponse(); //salt array body

$response->getContent(); //array video or stream array content
$response->getLinks(); //array prev next self links
$response->getPageCount(); //integer total page count
$response->getPageSize(); //integer items count per page
$response->getTotalItems(); //integer total items count

```

###  Health Score

21

—

LowBetter than 20% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6cd83d6b6c035e0082e898195d02aa9fb561d10be79e5a6946b8815be8bc33f8?d=identicon)[semihs](/maintainers/semihs)

---

Top Contributors

[![semihs](https://avatars.githubusercontent.com/u/4303177?v=4)](https://github.com/semihs "semihs (3 commits)")

### Embed Badge

![Health badge](/badges/noc-med-tvkur-api-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/noc-med-tvkur-api-php-client/health.svg)](https://phpackages.com/packages/noc-med-tvkur-api-php-client)
```

PHPackages © 2026

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