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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package imdb-api

PHP IMDB API

Latest Stable Version CircleCI Coverage Status

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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package hmerritt/imdb-api contains the following files

Loading the files please wait ....