fastwhale / yii2-douyin
Yii2 Douyin SDK
Package info
github.com/fastwhale/yii2-douyin
Type:yii2-extension
pkg:composer/fastwhale/yii2-douyin
V0.0.4
2023-08-31 09:17 UTC
Requires
- php: >=7.1
- yiisoft/yii2: ~2.0.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Yii2 Douyin SDK
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist fastwhale/yii2-douyin "*"
or add
"fastwhale/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 \fastwhale\yii2\douyin\Douyin $api */ $api = \Yii::createObject([ 'class' => \fastwhale\yii2\douyin\Douyin::class, 'client_key' => $client_key, 'client_secret' => $client_secret, ... ]);