PHPackages                             doubler/tiktok-open-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. doubler/tiktok-open-api

ActiveLibrary[API Development](/categories/api)

doubler/tiktok-open-api
=======================

TikTok Open API SDK

v0.0.1(2y ago)12MITPHP

Since Dec 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/lanrenbulan/tiktok-open-api)[ Packagist](https://packagist.org/packages/doubler/tiktok-open-api)[ RSS](/packages/doubler-tiktok-open-api/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (1)Versions (2)Used By (0)

TikTok Open API SDK
===================

[](#tiktok-open-api-sdk)

Install
-------

[](#install)

```
composer require doubler/tiktok-open-api

```

Basic
-----

[](#basic)

```
use Doubler\OpenApiSdk\Client;
use Doubler\TiktokOpenApi\Context;
use Doubler\TiktokOpenApi\Authorization\GetTokenRequestBuilder;

$client = new Client();

$context = new Context([
    'service_id' => '',
    'app_key' => '',
    'app_secret' => '',

    // default locale
    'locale' => 'en-US',

    'access_token' => '',
    'refresh_token' => '',
    'shop_cipher' => '',
]);

// get authorization uri.
echo $context->getAuthorizationUri();

// build request
$builder = new GetTokenRequestBuilder($context);
$builder->setAuthCode('authCode');
$request = $builder->getRequest();

// send request and get response.
$response = $client->send($request);

```

More
----

[](#more)

See `./examples`

Rename `common.php.local` to `common.php`.

```
php examples/GetCategories.php

```

TikTok
------

[](#tiktok)

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 80% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

917d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1324660?v=4)[doubler](/maintainers/doubler)[@doubler](https://github.com/doubler)

---

Top Contributors

[![z985342160](https://avatars.githubusercontent.com/u/7382935?v=4)](https://github.com/z985342160 "z985342160 (4 commits)")[![lanrenbulan](https://avatars.githubusercontent.com/u/9604624?v=4)](https://github.com/lanrenbulan "lanrenbulan (1 commits)")

### Embed Badge

![Health badge](/badges/doubler-tiktok-open-api/health.svg)

```
[![Health](https://phpackages.com/badges/doubler-tiktok-open-api/health.svg)](https://phpackages.com/packages/doubler-tiktok-open-api)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k13](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
