PHP code example of kingio / php-imdb-grabber

1. Go to this page and download the library: Download kingio/php-imdb-grabber 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/ */

    

kingio / php-imdb-grabber example snippets





d = "https://www.imdb.com/title/tt0241527/";

$imdb = new \IMDB\IMDB($imdbId);

print_r($imdb->getTitle());
bash
composer update
./vendor/bin/phpunit test/DataTest.php