Skip to content

boyaq/ByteDance

Repository files navigation

📦 字节跳动PHP SDK 抖音小程序、头条小程序开发组件。PHP SDK for bytedance (douyin, tiktok, toutiao)

Requirement

  1. PHP >= 7.1
  2. Composer
  3. 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

Special Thanks

@overtrue

FOSSA Status

About

字节跳动PHP SDK 抖音小程序、头条小程序开发组件。PHP SDK for bytedance (douyin, tiktok, toutiao)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages