fastwhale/yii2-douyin

Yii2 Douyin SDK

安装次数: 41

依赖者: 0

建议者: 0

安全性: 0

星标: 0

关注者: 2

分支: 0

公开问题: 0

类型:yii2-extension

V0.0.4 2023-08-31 09:17 UTC

This package is auto-updated.

Last update: 2024-09-30 01:46:49 UTC


README

Yii2 Douyin SDK

安装

安装此扩展的首选方式是通过 composer

运行以下命令之一:

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

或者在您的 composer.json 文件的 require 部分添加

"fastwhale/yii2-douyin": "*"

使用

扩展安装后,只需在您的代码中通过

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