dovechen/yii2-douyin

Yii2 Douyin SDK

Installs: 150

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

V0.0.2 2021-11-17 23:27 UTC

This package is auto-updated.

Last update: 2024-04-18 05:15:36 UTC


README

Yii2 Douyin SDK

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist dovechen/yii2-douyin "*"

or add

"dovechen/yii2-douyin": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

/** @var \dovechen\yii2\douyin\Douyin $api */
$api = \Yii::createObject([
    'class'  => \dovechen\yii2\douyin\Douyin::class,
    'client_key' => $client_key,
    'client_secret' => $client_secret,
    ...
]);