PHPackages                             promopult/tiktok-marketing-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. promopult/tiktok-marketing-api

ActiveLibrary[API Development](/categories/api)

promopult/tiktok-marketing-api
==============================

https://ads.tiktok.com API PHP-wrapper

v3.1.0(1y ago)1012.3k—8.2%12UNLICENSEPHPPHP ^7.4|^8.0

Since Jun 18Pushed 1y ago3 watchersCompare

[ Source](https://github.com/promopult/tiktok-marketing-api)[ Packagist](https://packagist.org/packages/promopult/tiktok-marketing-api)[ RSS](/packages/promopult-tiktok-marketing-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (24)Used By (0)

TikTok Marketing API PHP client library
=======================================

[](#tiktok-marketing-api-php-client-library)

/!\\ WIP: Not ready for production.

Convenient wrapper for [TikTok Marketing API](https://ads.tiktok.com/marketing_api/docs).

[![Build Status](https://camo.githubusercontent.com/f402814f395d6f2ea0eda777da4136c0205b5090a7e681db698d0abb9306b014/68747470733a2f2f7472617669732d63692e6f72672f70726f6d6f70756c742f74696b746f6b2d6d61726b6574696e672d6170692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/promopult/tiktok-marketing-api)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/0e3a9ea140c9db33fbe28b067d2c9d0c95c535df37b5994bf48d14decbbf5661/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f70726f6d6f70756c742f74696b746f6b2d6d61726b6574696e672d6170692f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/promopult/tiktok-marketing-api/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/00c21825fd88c634e72bfca961ac2fa21c0c2ca1a3a6668705ed2534739867ef/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f70726f6d6f70756c742f74696b746f6b2d6d61726b6574696e672d6170692f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/promopult/tiktok-marketing-api/?branch=master)

### Installation

[](#installation)

```
$ composer require promopult/tiktok-marketing-api
```

or

```
"require": {
  // ...
  "promopult/tiktok-marketing-api": "*"
  // ...
}

```

### Usage

[](#usage)

See [examples](/examples) folder.

```
$credentials = \Promopult\TikTokMarketingApi\Credentials::fromAccessToken(
    getenv('__ACCESS_TOKEN__')
);

// Any PSR-18 HTTP-client
$httpClient = new \GuzzleHttp\Client();

$client = new \Promopult\TikTokMarketingApi\Client(
    $credentials,
    $httpClient
);

$response = $client->user->info();

print_r($response);

//Array
//(
//    [message] => OK
//    [code] => 0
//    [data] => Array
//        (
//            [create_time] => 1614175583
//            [display_name] => my_user
//            [id] => xxx
//            [email] => xxx
//        )
//
//    [request_id] => xxx
//)
```

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance43

Moderate activity, may be stable

Popularity36

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 90% 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

Every ~63 days

Recently: every ~239 days

Total

22

Last Release

455d ago

Major Versions

v0.3.4 → v1.0.02021-12-21

v1.2.1 → v2.0.02023-06-21

v2.0.0 → v3.0.02025-02-06

PHP version history (2 changes)v0.0.1PHP &gt;=7.2

v1.0.0PHP ^7.4|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/6ee9ba695159d6b854f55dd7ef9eb093a914547a3e1e57b2f0f32121feb8e2d2?d=identicon)[gladyshev](/maintainers/gladyshev)

---

Top Contributors

[![gladyshev](https://avatars.githubusercontent.com/u/3429161?v=4)](https://github.com/gladyshev "gladyshev (54 commits)")[![Muizz-DS](https://avatars.githubusercontent.com/u/47732301?v=4)](https://github.com/Muizz-DS "Muizz-DS (6 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/promopult-tiktok-marketing-api/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69433.0M114](/packages/algolia-algoliasearch-client-php)[vin-sw/shopware-sdk

A PHP SDK for Shopware 6 Platform

122469.3k6](/packages/vin-sw-shopware-sdk)[yoti/yoti-php-sdk

Yoti SDK for quickly integrating your PHP backend with Yoti

27539.9k1](/packages/yoti-yoti-php-sdk)[commercetools/commercetools-sdk

The official PHP SDK for the commercetools Composable Commerce APIs

19281.5k](/packages/commercetools-commercetools-sdk)

PHPackages © 2026

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