twobitint / tmdb
TMDB API wrapper for laravel
Installs: 54
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/twobitint/tmdb
Requires
- guzzlehttp/guzzle: ^6.5
- illuminate/contracts: ^7.0
- illuminate/support: ^7.0
Requires (Dev)
- orchestra/testbench: ^5.0
- phpunit/phpunit: ^8.5
This package is auto-updated.
Last update: 2025-09-29 02:21:54 UTC
README
TMDB API Laravel Wrapper
A laravel package for interracting with the TMDB API.
Install
composer require twobitint/tmdb
Configure
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
Usage
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();
});
Available methods and documentation
coming later