PHPackages                             chiiya/laravel-tmdb - 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. chiiya/laravel-tmdb

ActiveLibrary[API Development](/categories/api)

chiiya/laravel-tmdb
===================

Laravel SDK for the TMDB API

1.4.2(7mo ago)72982[4 PRs](https://github.com/chiiya/laravel-tmdb/pulls)MITPHPPHP ^8.2

Since Jun 16Pushed 7mo ago2 watchersCompare

[ Source](https://github.com/chiiya/laravel-tmdb)[ Packagist](https://packagist.org/packages/chiiya/laravel-tmdb)[ Docs](https://github.com/chiiya/laravel-tmdb)[ GitHub Sponsors](https://github.com/chiiya)[ RSS](/packages/chiiya-laravel-tmdb/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (8)Versions (13)Used By (0)

[![TMDB PHP](./.github/laravel-tmdb.png)](./.github/laravel-tmdb.png)

 [![](https://camo.githubusercontent.com/8d2fa435a6eae45ce5cef3aff8d7f2015e3e5d5593caa0ded58a47584bc1fa7e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6368696979612f6c61726176656c2d746d64622e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/chiiya/laravel-tmdb) [![](https://camo.githubusercontent.com/576d0cd67a172902ac350bd8905ee9f144f58addec43953398849b7716cdb25c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6368696979612f6c61726176656c2d746d64622f6c696e742e796d6c3f6272616e63683d6d6173746572)](https://github.com/chiiya/laravel-tmdb/actions?query=workflow%3Alint+branch%3Amaster) [![](https://camo.githubusercontent.com/ba59aa332040d33eab4755bd8c23d78fa54b48c1c35f85d844f575af5a02ce07/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6368696979612f6c61726176656c2d746d64622e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/ba59aa332040d33eab4755bd8c23d78fa54b48c1c35f85d844f575af5a02ce07/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6368696979612f6c61726176656c2d746d64622e7376673f7374796c653d666c61742d737175617265)

A strongly-typed PHP SDK for the TMDB (The Movie Database) API, providing complete coverage of all non-user related APIv3 endpoints with full type safety and IDE autocompletion support.

Uses the Laravel HTTP client for making requests, allowing for easy fake responses in tests.

Index
-----

[](#index)

```
> Installation
> Quickstart
> Changelog
> Contributing
> License
```

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

[](#installation)

Install the package via Composer:

```
composer require chiiya/laravel-tmdb
```

Next, configure your TMDB API token in your .env file. This should be your API Read Access Token (v4 auth):

```
TMDB_API_TOKEN="eyJh..."
```

Quick Start
-----------

[](#quick-start)

```
use Chiiya\Tmdb\Repositories\MovieRepository;
use Chiiya\Tmdb\Query\AppendToResponse;

class TmdbService {
    public function __construct(
        private MovieRepository $movies,
    )

    public function handle(): void
    {
        $this->movies->getMovie(550);
        $this->movies->getPopular();
        $movie = $this->movies->getMovie(550, [
            new AppendToResponse([
                AppendToResponse::IMAGES,
                AppendToResponse::WATCH_PROVIDERS,
            ]),
        ]);
        $movie->watch_providers['US']->flatrate[0]->provider_name;
    }
}
```

See [`tmdb-php`](https://github.com/chiiya/tmdb-php) for more examples and documentation.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

45

—

FairBetter than 92% of packages

Maintenance62

Regular maintenance activity

Popularity24

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 51.7% 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 ~149 days

Recently: every ~296 days

Total

9

Last Release

234d ago

PHP version history (2 changes)1.0.0PHP ^8.1

1.4.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/34a7cd6c6e8c5fd30b6cd28645c3384f343fc90d10b0df8c80c7ad424e3dba2a?d=identicon)[chiiya](/maintainers/chiiya)

---

Top Contributors

[![chiiya](https://avatars.githubusercontent.com/u/15029301?v=4)](https://github.com/chiiya "chiiya (15 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (7 commits)")

---

Tags

laravelmoviestvtmdbchiiya

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/chiiya-laravel-tmdb/health.svg)

```
[![Health](https://phpackages.com/badges/chiiya-laravel-tmdb/health.svg)](https://phpackages.com/packages/chiiya-laravel-tmdb)
```

###  Alternatives

[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.0k7.8M57](/packages/dedoc-scramble)[scalar/laravel

Render your OpenAPI-based API reference

6183.9k2](/packages/scalar-laravel)[ryangjchandler/bearer

Minimalistic token-based authentication for Laravel API endpoints.

8129.8k](/packages/ryangjchandler-bearer)[combindma/laravel-facebook-pixel

Meta pixel integration for Laravel

4956.9k](/packages/combindma-laravel-facebook-pixel)[stechstudio/laravel-hubspot

A Laravel SDK for the HubSpot CRM Api

2971.0k](/packages/stechstudio-laravel-hubspot)[njoguamos/laravel-plausible

A laravel package for interacting with plausible analytics api.

208.8k](/packages/njoguamos-laravel-plausible)

PHPackages © 2026

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