PHP code example of firmantr3 / l5imdb

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

    

firmantr3 / l5imdb example snippets


// get movie data by id
\L5Imdb::title('0944947')->all(); // game of throne

// get actor/actress data by id
\L5Imdb::person('1785339')->all() // rami malek

// search movies
\L5Imdb::searchTitle('Deadpool')->all();

// search actor/actress
\L5Imdb::searchPerson('Dwayne Johnson')->all();