twobitint/tmdb is a Laravel package for tmdb api wrapper for laravel.
It currently has 0 GitHub stars and 54 downloads on Packagist (latest version v1.0.2).
Install it with composer require twobitint/tmdb.
Discover more Laravel packages by twobitint
or browse all Laravel packages to compare alternatives.
Last updated
A laravel package for interracting with the TMDB API.
composer require twobitint/tmdb
Your .env file should include an TMDB_TOKEN key with a v4 token generated via the TMDB developer website. Specific config values can be modified in config/tmdb.php
The API can be accessed via dependency injection:
use Twobitint\TMDB\API;
Route::get('/', function (API $api) {
return $api->discoverMovies();
});
The API is also available via a facade:
use TMDB;
Route::get('/', function() {
return TMDB::discoverMovies();
});
coming later