# tiktok-api-php-sdk

This repository contains the open source PHP SDK that allows you to access the TikTok API from your PHP app.

## Installation

### Composer

Run this command:

```
composer require jstolpe/tiktok-api-php-sdk
```

Require the the autoloader.

```php
require_once __DIR__ . '/vendor/autoload.php'; // change path as needed
```

### No Composer

Get the repository

```
git clone git@github.com:jstolpe/tiktok-api-php-sdk.git
```

Require the custom autoloader.

```php
require_once '/tiktok-api-php-sdk/src/tiktok/autoload.php'; // change path as needed
```
