php-imdb

A PHP 5.3 library for scraping IMDb

  • Owner: redpanda/php-imdb
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

PHP IMDb

A PHP 5.3 library for scraping IMDb, strongly inspired by imdb.

Build Status

Installation

Install vendors

wget http://getcomposer.org/composer.phar
php composer.phar install

Update vendors

php composer.phar update

Usage

Get Movie

<?php
$i = new IMDb\Movie("0095016");
$i->getTitle();

Search movie

<?php
$s = new IMDb\Search("Star Trek");
foreach ($s->getMovies() as $movie) {
    echo $movie->getTitle().PHP_EOL;
}

Command line

Get movie

bin/imdb show 0095016

Search movie

bin/imdb search "Star Trek"

Tests

Run the tests (requires PHPUnit >= 3.5)

phpunit

License

MIT, see LICENSE

Main metrics

Overview
Name With Ownerredpanda/php-imdb
Primary LanguagePHP
Program languagePHP (Language Count: 2)
Platform
License:MIT License
所有者活动
Created At2012-04-18 16:13:33
Pushed At2012-10-25 09:33:46
Last Commit At2012-10-25 02:33:45
Release Count0
用户参与
Stargazers Count10
Watchers Count2
Fork Count7
Commits Count33
Has Issues Enabled
Issues Count1
Issue Open Count1
Pull Requests Count2
Pull Requests Open Count2
Pull Requests Close Count1
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private