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

ActiveLibrary[API Development](/categories/api)

rexlmanu/laravel-tmdb
=====================

Laravel SDK for the TMDB API

01PHP

Since Jul 9Pushed 2y agoCompare

[ Source](https://github.com/rexlManu/laravel-tmdb)[ Packagist](https://packagist.org/packages/rexlmanu/laravel-tmdb)[ RSS](/packages/rexlmanu-laravel-tmdb/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel TMDB
============

[](#laravel-tmdb)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8d2fa435a6eae45ce5cef3aff8d7f2015e3e5d5593caa0ded58a47584bc1fa7e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6368696979612f6c61726176656c2d746d64622e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/chiiya/laravel-tmdb)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/7724124fa58d37b0506a67bb4e191da19222a640c50f97549afac1afcce9deb0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6368696979612f6c61726176656c2d746d64622f6c696e743f6c6162656c3d636f64652532307374796c65)](https://github.com/chiiya/laravel-tmdb/actions?query=workflow%3Alint+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/ba59aa332040d33eab4755bd8c23d78fa54b48c1c35f85d844f575af5a02ce07/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6368696979612f6c61726176656c2d746d64622e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/chiiya/laravel-tmdb)

Laravel package for using the TMDB API.

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

[](#installation)

You can 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..."
```

Usage
-----

[](#usage)

This package is a thin wrapper around [chiiya/tmdb-php](https://github.com/chiiya/tmdb-php), that allows you to directly inject the repositories in your application:

```
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;
    }
}
```

For documentation on method signatures, check out [chiiya/tmdb-php](https://github.com/chiiya/tmdb-php).

Testing
-------

[](#testing)

Since this package uses the Laravel HTTP Client under the hood to perform API requests, you may simply call `Http::fake()` to fake responses in your tests. For mocking specific responses, check out the [example responses](https://github.com/chiiya/tmdb-php/tree/master/tests/responses).

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

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/32296940?v=4)[Emmanuel Lampe](/maintainers/rexlManu)[@rexlManu](https://github.com/rexlManu)

---

Top Contributors

[![chiiya](https://avatars.githubusercontent.com/u/15029301?v=4)](https://github.com/chiiya "chiiya (8 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)")[![rexlManu](https://avatars.githubusercontent.com/u/32296940?v=4)](https://github.com/rexlManu "rexlManu (1 commits)")

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k13](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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