PHPackages                             zvenn/api-imdb-streaming-movies - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. zvenn/api-imdb-streaming-movies

ActiveProject[API Development](/categories/api)

zvenn/api-imdb-streaming-movies
===============================

IMDB API that can fetch film data and search results also streaming movies

01PHP

Since Nov 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/aminekacem911/api-imdb-streaming-movies)[ Packagist](https://packagist.org/packages/zvenn/api-imdb-streaming-movies)[ RSS](/packages/zvenn-api-imdb-streaming-movies/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP IMDB API
============

[](#php-imdb-api)

[![Latest Stable Version](https://camo.githubusercontent.com/8bc09f5af4b45777f12d36180194775cf575c7e8a66dde91e0488bf781fe4a40/68747470733a2f2f706f7365722e707567782e6f72672f7a76656e6e2f696d64622d6170692d73747265616d696e672d6d6f766965732f762f737461626c65)](https://packagist.org/packages/zvenn/imdb-api-streaming-movies)[![Build Status](https://camo.githubusercontent.com/349daf57fc54614b62c23075a3a4103a503c4a431cfa0bfdd58033c8c8d7ddba/68747470733a2f2f7472617669732d63692e6f72672f7a76656e6e2f7068702d696d64622d6170692d73747265616d696e672d6d6f766965732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/zvenn/php-imdb-api-streaming-movies)[![Coverage Status](https://camo.githubusercontent.com/d819b9118e50b518bab28d0fd968f1f8d2082864a35a165d1e70a32da8df324a/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7a76656e6e2f7068702d696d64622d6170692d73747265616d696e672d6d6f766965732f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/zvenn/php-imdb-api-streaming-movies?branch=master)

PHP imdb-api-streaming-movies that can fetch film data and search results.

forked from hmerritt/imdb-api package with adding some custom functionalities

Install
-------

[](#install)

Install the latest version using [composer](https://getcomposer.org/).

```
$ composer require zvenn/api-imdb-streaming-movies

```

Usage
-----

[](#usage)

```
// Assuming you installed from Composer:
require "vendor/autoload.php";
use zvenn\Imdb;

$imdb = new Imdb;

// Search imdb
// -> returns array of films and people found
$imdb->search("Apocalypse");

// Get film data
// -> returns array of film data (title, year, rating...)
$imdb->film("tt0816692");
```

### Options

[](#options)

NameTypeDefault ValueDescription`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`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`)```
$imdb = new Imdb;

//  Options are passed as an array as the second argument
//  These are the default options
$imdb->film("tt0816692", [
    'cache'        => true,
    'curlHeaders'  => ['Accept-Language: en-US,en;q=0.5'],
    'techSpecs'    => true,
]);

$imdb->search("Interstellar", [
    'category'     => 'all',
    'curlHeaders'  => ['Accept-Language: en-US,en;q=0.5'],
]);
```

### Best Match

[](#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.

```
// Searches imdb and gets the film data of the first result
// -> will return the film data for 'Apocalypse Now'
$imdb->film("Apocalypse");
```

Features
--------

[](#features)

### Film Data

[](#film-data)

```
- Title
- Year
- Rating
- Poster
- Length
- Plot
- Trailer
    - id
    - link
- Cast
    - actor name
    - actor id
    - image
- Technical Specs
- Movies

```

### Search

[](#search)

Search IMDB to return an array of films, people and companies

```
- Films
    - id
    - title
    - image
- People
    - id
    - name
    - image
- Companies
    - id
    - name
    - image

```

Dependencies
------------

[](#dependencies)

> All dependencies are managed automatically by `composer`.

- [php-html-parser](https://github.com/paquettg/php-html-parser)
- [filebase](https://github.com/tmarois/Filebase)

imdb-api-streaming-movies
=========================

[](#imdb-api-streaming-movies)

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 Bus Factor1

Top contributor holds 94.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/08deff1df7236693b523df3105d3d2184806dc4c2c5b9ce3716eb9120cab5ee8?d=identicon)[zvenn](/maintainers/zvenn)

---

Top Contributors

[![hmerritt](https://avatars.githubusercontent.com/u/17837575?v=4)](https://github.com/hmerritt "hmerritt (68 commits)")[![aminekacem911](https://avatars.githubusercontent.com/u/37161143?v=4)](https://github.com/aminekacem911 "aminekacem911 (4 commits)")

### Embed Badge

![Health badge](/badges/zvenn-api-imdb-streaming-movies/health.svg)

```
[![Health](https://phpackages.com/badges/zvenn-api-imdb-streaming-movies/health.svg)](https://phpackages.com/packages/zvenn-api-imdb-streaming-movies)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
