Download the PHP package hmerritt/imdb-api without Composer
On this page you can find all versions of the php package hmerritt/imdb-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package imdb-api
PHP IMDB API
PHP IMDB-API that can fetch film data and search results.
Install
Install the latest version using composer.
Usage
Options
Name | Type | Default Value | Description |
---|---|---|---|
curlHeaders |
array | ['Accept-Language: en-US,en;q=0.5'] |
Custom headers can be passed to cURL when fetching the IMDB page |
cache |
bool | true |
Caches film data to speed-up future requests for the same film |
cacheType |
string | file or redis |
Choose how the caching is done. Either a local file database, or connect to a redis server |
cacheRedis |
array | [ 'scheme' => 'tcp', 'host' => '127.0.0.1', 'port' => 6379, 'password' => '', 'database' => 0 ] |
Redis options |
techSpecs |
bool | true |
Loads a films technical specifications (this will take longer as it makes a separate request) |
category |
string | all |
What category to search for (films tt , people nm or companies co ) |
Best Match
If you do not know the imdb-id of a film, a search string can be entered. This will search imdb and use the first result as the film to fetch data for.
Note that this will take longer than just entering the ID as it needs to first search imdb before it can get the film data.
Features
Film Data
Search
Search IMDB to return an array of films, people and companies
Dependencies
All dependencies are managed automatically by
composer
.
All versions of imdb-api with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
paquettg/php-html-parser Version ^2.1
tmarois/filebase Version ^1.0
predis/predis Version ^2.2
paquettg/php-html-parser Version ^2.1
tmarois/filebase Version ^1.0
predis/predis Version ^2.2
The package hmerritt/imdb-api contains the following files
Loading the files please wait ....