PHPackages                             spawnrad/tiktok - 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. spawnrad/tiktok

ActiveLibrary[API Development](/categories/api)

spawnrad/tiktok
===============

Get data from TikTok

v2.3.6.7(3y ago)0937↑11.1%MITPHPPHP &gt;=7.4|^8.0

Since Feb 13Pushed 3y agoCompare

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

READMEChangelogDependencies (4)Versions (86)Used By (0)

TikWrapperPHP
=============

[](#tikwrapperphp)

A Wrapper for the TikTok API made with PHP

How to Use
----------

[](#how-to-use)

```
$api = new \TikScraper\Api([
    'user_agent' => 'YOUR_CUSTOM_USER_AGENT_HERE',
    'proxy' => [
        'host' => 'EXAMPLE_HOST',
        'port' => 8080,
        'user' => 'EXAMPLE_USER',
        'password' => 'EXAMPLE_PASSWORD'
    ],
    // More info about signing below
    'signer' => [
        'method' => 'remote',
        'url' => 'http://localhost:8080/signature',
        'close_when_done' => true // --> Only for browser signing hashtag('funny');
echo $hashtag->feed()->getFull()->toJson();
```

Signing
-------

[](#signing)

For using TikScrapperPHP you need to use a signing service. There are multiple available:

### Remote signing

[](#remote-signing)

This method involves using an external signer.

- Set 'method' to `remote`
- Set 'url' to the signing endpoint

Currently supported:

- [tiktok-signature](https://github.com/carcabot/tiktok-signature) (uses headless Chrome browser)
- [SignTok](https://github.com/pablouser1/SignTok) (uses JSDOM)

### Browser

[](#browser)

This method involves using a chromedriver instance.

- Set 'method' to `browser`
- Set 'url' to the chromedriver endpoint (usually )

You can also generate the documentation available using PHPDoc

Caching
-------

[](#caching)

TikScrapperPHP supports caching requests, to use it you need to implement [CacheInterface.php](https://github.com/pablouser1/TikScraperPHP/blob/master/src/Interfaces/CacheInterface.php)

TODO
----

[](#todo)

- Search
- Comments
- X-Bogus support for ChromeDriver

Credits
-------

[](#credits)

- @Sharqo78: Working TikTok downloader without watermark

HUGE thanks to the following projects, this wouldn't be possible without their help

- [TikTok-API-PHP](https://github.com/ssovit/TikTok-API-PHP)
- [TikTok-Api](https://github.com/davidteather/TikTok-Api)
- [tiktok-signature](https://github.com/carcabot/tiktok-signature)
- [tiktok-scraper](https://github.com/drawrowfly/tiktok-scraper)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 75% 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 ~5 days

Recently: every ~11 days

Total

85

Last Release

1127d ago

Major Versions

v1.3.5.2 → v2.0.0.02022-05-24

1.0.1 → v2.3.0.02022-09-25

1.0.2 → v2.3.0.22022-10-05

PHP version history (2 changes)v1.0.0PHP &gt;=7.3|^8.0

v1.3.5.2PHP &gt;=7.4|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/5e293ac4e851e01f76062c082b99b23aa07e23931bcde35d9a14a91871258d29?d=identicon)[Spawnrad](/maintainers/Spawnrad)

---

Top Contributors

[![pablouser1](https://avatars.githubusercontent.com/u/17802865?v=4)](https://github.com/pablouser1 "pablouser1 (102 commits)")[![Spawnrad](https://avatars.githubusercontent.com/u/1053988?v=4)](https://github.com/Spawnrad "Spawnrad (31 commits)")[![goodness-from-me](https://avatars.githubusercontent.com/u/42966950?v=4)](https://github.com/goodness-from-me "goodness-from-me (1 commits)")[![samip5](https://avatars.githubusercontent.com/u/1703002?v=4)](https://github.com/samip5 "samip5 (1 commits)")[![tri2820](https://avatars.githubusercontent.com/u/22129923?v=4)](https://github.com/tri2820 "tri2820 (1 commits)")

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/spawnrad-tiktok/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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