This PHP library enables you to scrap data from IMDB.com and it's heavily based on FabianBeiner's PHP-IMDB-Grabber (You can also find more info about this package, its license and conditions of usage there). It's begin used on production servers.
composer require kingio/php-imdb-grabber
<?php
require './vendor/autoload.php';
$imdbId = "https://www.imdb.com/title/tt0241527/";
$imdb = new \IMDB\IMDB($imdbId);
print_r($imdb->getTitle());
See on Travis CI
Or:
composer update
./vendor/bin/phpunit test/DataTest.php
https://github.com/kingio/PHP-IMDB-Grabber/releases
MIT