Registry / http-client / php-tmdb-api

php-tmdb-api

JSON →
library4.1.4phppackagistunverified

PHP wrapper for TMDB (TheMovieDatabase) API v3, supporting repository/model/factory and raw array access approaches.

composer require php-tmdb/api
INSTALL
IMPORT
SIG · PHP-TMDB-API
P
php-tmdb-api
http-clientphpv4.1.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
use Tmdb\Client;

Create a client with your API key and fetch a movie.

use Tmdb\Client; $client = new Client('your-api-key'); $movie = $client->getMoviesApi()->getMovie(550);
Debug
Known issues
gotchaAPI key required for all requests
fix
Obtain an API key from TMDB and pass it to the Client constructor.
affects: >=4.0.0
Upgrade
Version history
4.1.4latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
12
Resources
php-tmdb-api — pip install php-tmdb-api · libregistry