kingio/php-imdb-grabber

This class enables you to retrieve data from IMDb.com with PHP.

8.5.12 2019-05-14 07:07 UTC

README

Build Status

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.

Install

composer require kingio/php-imdb-grabber

Usage

<?php


require './vendor/autoload.php';

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

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

print_r($imdb->getTitle());

Testing

See on Travis CI

Or:

composer update
./vendor/bin/phpunit test/DataTest.php

Changelog

https://github.com/kingio/PHP-IMDB-Grabber/releases

License

MIT