mcxzyang / bytedance
sdk for bytedance (douyin, toutiao, huoshan, xigua)
0.0.25
2021-08-13 04:49 UTC
Requires
- doctrine/cache: ~1.4
- guzzlehttp/guzzle: ~7.0
- monolog/monolog: ^1.17
- pimple/pimple: ^3.0
- psr/simple-cache: ^1.0
- symfony/http-foundation: ^2.7 || ^3.0 || ^4.0 || ^5.0
- symfony/psr-http-message-bridge: ^0.3 || ^1.0 || ^2.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