itshayu / bytedance
sdk for bytedance (douyin, toutiao, huoshan, xigua)
0.1.10
2020-06-18 03:41 UTC
Requires
- doctrine/cache: ^1.0
- monolog/monolog: ^2.1
- pimple/pimple: ^3.0.2
- psr/simple-cache: ^1.0
Requires (Dev)
- overtrue/phplint: ^1.2
- phpunit/phpunit: ^7.5
README
📦 字节跳动PHP SDK 抖音小程序、头条小程序开发组件。PHP SDK for bytedance (douyin, tiktok, toutiao)
Requirement
- PHP >= 7.1
- Composer
- openssl 拓展
Installation
$ composer require "otkurbiz/bytedance" -vvv
Usage
基本使用(以服务端为例):
<?php use EasyWeChat\Factory; $options = [ 'app_id' => 'wx3cf01239eb0exxx', 'app_secret' => 'f1c242f4f28f735d4687abb469072xxx', // ... ]; $app = Factory::make($options); $session = $app->auth->session($code);
Documentation
Coming soon
Integration
Laravel 5 拓展包: otkurbiz/laravel-bytedance
Contributors
License
MIT