PHPackages                             tcdev/thinkific-php - 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. tcdev/thinkific-php

ActiveLibrary[API Development](/categories/api)

tcdev/thinkific-php
===================

PHP SDK for interacting with the Thinkific LMS Api

v1.0.1(5mo ago)02[1 PRs](https://github.com/thrivecart/thinkific-php/pulls)MITPHPPHP ^7.4 || ^8.0 || ^8.1 || ^8.2 || ^8.3 || ^8.4

Since Oct 25Pushed 5mo agoCompare

[ Source](https://github.com/thrivecart/thinkific-php)[ Packagist](https://packagist.org/packages/tcdev/thinkific-php)[ Docs](https://github.com/marcfowler/thinkific-php)[ RSS](/packages/tcdev-thinkific-php/feed)WikiDiscussions master Synced 1mo ago

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

Thinkific PHP SDK
=================

[](#thinkific-php-sdk)

[![Dependency Status](https://camo.githubusercontent.com/df8d26c215136016984e8f130d70f41f38dd52556597b7da109bf7693a5f4782/68747470733a2f2f626574612e67656d6e617369756d2e636f6d2f6261646765732f6769746875622e636f6d2f656c6c696f74626f6e65792f7468696e6b696669632d7068702e737667)](https://beta.gemnasium.com/projects/github.com/elliotboney/thinkific-php)

This is under heavy construction and in early alpha stages. It is an sdk to help interact with the [Thinkific LMS](http://www.thinkific.com/) API. The documentation for that REST Api can be found [here](https://api.thinkific.com/documentation).

Installation
------------

[](#installation)

#### Bleeding Edge

[](#bleeding-edge)

During your development, you can keep up with the latest changes on the master branch by setting the version requirement for thinkific-api to `dev-master`

```
{
   "require": {
      "elliotboney/thinkific-php": "dev-master"
   }
}
```

#### Via command line:

[](#via-command-line)

```
composer require elliotboney/thinkific-php
```

Usage
-----

[](#usage)

Create a client for interacting with the API:

```
$think = new \Thinkific\Thinkific ( [
   'apikey'    => 'your-api-key',
   'subdomain' => 'yoursubdomain',
   'debug'     => true
   ] );
```

### Endpoints

[](#endpoints)

You can reach the following endpoints:

- Bundles
- Collections
- Coupons
- Course reviews
- Courses
- Enrollments
- Orders
- Products
- Promotions
- Users

by using the following scheme:

```
// Create interface to access Users endpoint
$users = $think->users();

// Create interface to access Bundles endpoint
$bundles = $think->bundles();
// etc, etc
```

### Methods

[](#methods)

The classes have the basic requests for GET, PUT, POST, DELETE with the Id parameter as well a getAll. If the endpoint doesn't support the call, an `ApiException()` will be thrown. Some examples of accessing these endpoints:

```
// Get all users
$users = $users->getAll();

// Get a specific user
$users->getById(1234);

// Add a user
$users->add([
    "first_name" => "John",
    "last_name" => "Doe",
    "email"=>"johndoe@example.com",
    "roles"=>[]
  ]);

// Update a user
$users->update( 1234, [
    "first_name" => "John",
    "last_name" => "Doe",
    "email"=>"johndoe@example.com",
    "roles"=>[]
  ]);

// Delete a user
$users->delete( 1234);
```

For more details of which endpoints support which, please make sure you look through the [Thinkific API Docs](https://api.thinkific.com/documentation).

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance72

Regular maintenance activity

Popularity2

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 69% 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 ~776 days

Total

2

Last Release

159d ago

PHP version history (2 changes)v1.0.0PHP &gt;=5.5.0

v1.0.1PHP ^7.4 || ^8.0 || ^8.1 || ^8.2 || ^8.3 || ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/752c7d73a901e4127eb085e33a61da585b8616b0effa0e9602fb52ea1d33c012?d=identicon)[avfletch](/maintainers/avfletch)

---

Top Contributors

[![elliotboney](https://avatars.githubusercontent.com/u/2795952?v=4)](https://github.com/elliotboney "elliotboney (29 commits)")[![kanasite](https://avatars.githubusercontent.com/u/985129?v=4)](https://github.com/kanasite "kanasite (7 commits)")[![marcfowler](https://avatars.githubusercontent.com/u/1171131?v=4)](https://github.com/marcfowler "marcfowler (5 commits)")[![chrissound](https://avatars.githubusercontent.com/u/1499652?v=4)](https://github.com/chrissound "chrissound (1 commits)")

---

Tags

lmsthinkific

### Embed Badge

![Health badge](/badges/tcdev-thinkific-php/health.svg)

```
[![Health](https://phpackages.com/badges/tcdev-thinkific-php/health.svg)](https://phpackages.com/packages/tcdev-thinkific-php)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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