PHPackages                             macklus/yii2-themdb - 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. macklus/yii2-themdb

ActiveYii2-extension[API Development](/categories/api)

macklus/yii2-themdb
===================

The Movie DB API Client for yii2

1.0.1(10y ago)283GPL-3.0+PHP

Since Feb 17Pushed 10y ago1 watchersCompare

[ Source](https://github.com/macklus/yii2-themdb)[ Packagist](https://packagist.org/packages/macklus/yii2-themdb)[ RSS](/packages/macklus-yii2-themdb/feed)WikiDiscussions master Synced 5d ago

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

The Movie DB API Client for yii2
================================

[](#the-movie-db-api-client-for-yii2)

The Movie DB API Client for yii2

Features
--------

[](#features)

- Implements most of The Movie DB API methods
- Respect API limits, and wait if you are near to overpass API limit
- Simple usage
- Simple download of related images
- Log info messages using Yii::info for you to know when sleep due to API limits

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
composer require --prefer-dist macklus/yii2-themdb "*"

```

or add

```
"macklus/yii2-themdb": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
use macklus\themdb\Tmdbapi;

class SiteController extends Controller
{
    public function actionTest()
    {
        $tmdb = new Tmdbapi();
        $tmdb->api_key = '__INSERT_HERE_YOUR_API_KEY__';
        if ($tmdb->getTvSeason(46952, 3, ['language' => 'es'])) {
            print_R($tmdb->data);
        } else {
            echo 'error';
        }

		// Find something by his imdb_id
		$tmdb->findByExternal('imdb_id', 'tt0816692', ['language' => 'es']);

    }
}```
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~50 days

Total

2

Last Release

3781d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e52a9b1c93ff48caab7b2d55daeb79c39bda5c44f1eadc18d73ce6855825624e?d=identicon)[macklus](/maintainers/macklus)

---

Top Contributors

[![macklus](https://avatars.githubusercontent.com/u/3457708?v=4)](https://github.com/macklus "macklus (16 commits)")

---

Tags

apiyii2extensionthe movie db

### Embed Badge

![Health badge](/badges/macklus-yii2-themdb/health.svg)

```
[![Health](https://phpackages.com/badges/macklus-yii2-themdb/health.svg)](https://phpackages.com/packages/macklus-yii2-themdb)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.7M3.4k](/packages/craftcms-cms)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

353.6k](/packages/eslazarev-wildberries-sdk)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.3M49](/packages/tencentcloud-tencentcloud-sdk-php)[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13926.0k65](/packages/skeeks-cms)[files.com/files-php-sdk

Files.com PHP SDK

2482.9k](/packages/filescom-files-php-sdk)[apexwire/yii2-restclient

Tools to use API as ActiveRecord for Yii2

143.5k](/packages/apexwire-yii2-restclient)

PHPackages © 2026

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