PHP code example of xu42 / imdb

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

    

xu42 / imdb example snippets

 php
 Xu42\Imdb\OneTitle;
$res = OneTitle::singleton()->get('tt0111161');
echo json_encode($res) . PHP_EOL;