1. Go to this page and download the library: Download duck7000/imdb-graphql-php library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
duck7000 / imdb-graphql-php example snippets
$imdb = new \Imdb\TitleSearch();
$results = $imdb->search("1408", "MOVIE,TV", "1955-01-01", "2000-01-01");
All info is in the wiki page
$imdb = new \Imdb\TitleSearchAdvanced();
$results = $imdb->advancedSearch($searchTerm, $genres, $types, $creditId, $startDate, $endDate, $countryId, $languageId);
All info is in the wiki page
$title = new \Imdb\Title("335266");
$rating = $title->rating();
$plotOutline = $title->plotoutline();
$imdb = new \Imdb\NameSearch();
$results = $imdb->search("Peter Fonda");
$name = new \Imdb\Name("0000154");
$name = $name->name();
$nickname = $name->nickname();
$calendar = new \Imdb\Calendar();
$releases = $calendar->comingSoon();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.