- Notifications
You must be signed in to change notification settings - Fork6
PHP Wrapper for TMDB (The Movie DataBase) API V3
License
NotificationsYou must be signed in to change notification settings
vfalies/tmdb
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Tmdb is a PHP wrapper forThe Movie Database APIV3.
Features actualy supported :
- Search
- Movie
- TV Show
- Collection
- Company
- Getting informations
- Movie
- TV Show
- Collection
- Company
- Genres
- Account
- Authentification
- Movies / TV Shows rating
- Movies / TV Shows favorites
- Movies / TV Shows watchlist
- Media
- Genres
- Jobs
Install the lastest version with
$ composer require vfalies/tmdb
<?phprequire'vendor/autoload.php';useVfacTmdb\Factory;useVfacTmdb\Search;useVfacTmdb\Item;// Initialize Wrapper$tmdb = Factory::create()->getTmdb('your_api_key');// Search a movie$search =newSearch($tmdb);$responses =$search->movie('star wars');// Get all resultsforeach ($responsesas$response){echo$response->getTitle();}// Get movie information$item =newItem($tmdb);$infos =$item->getMovie(11,array('language' =>'fr-FR'));echo$infos->getTitle();
You can run the unit test suites using the following command in the library's source directory:
$ make test
- Tmdb works with PHP 7.1 and higher
- TheMovieDatabase API key
Bugs and feature request are tracked onGitHub
Vincent Faliès -vincent@vfac.fr
VfacTmdb is licensed under the MIT License - see theLICENSE
file for details
About
PHP Wrapper for TMDB (The Movie DataBase) API V3
Topics
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors5
Uh oh!
There was an error while loading.Please reload this page.