PHPackages                             resoul/imdb - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. resoul/imdb

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

resoul/imdb
===========

Imdb parser

1.0.0(7mo ago)616[1 issues](https://github.com/resoul/imdb/issues)[2 PRs](https://github.com/resoul/imdb/pulls)PHPPHP &gt;=8.0

Since Dec 31Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/resoul/imdb)[ Packagist](https://packagist.org/packages/resoul/imdb)[ RSS](/packages/resoul-imdb/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (9)Used By (0)

 [ ![](https://camo.githubusercontent.com/6b6e5900c1a96ea3dcf5e50ca60482bff8eb65b63a1fbf9d2f55831238a3b9b4/68747470733a2f2f6d2e6d656469612d616d617a6f6e2e636f6d2f696d616765732f532f736173682f6c36704e7672443730334a45346a662e706e67) ](https://www.boxofficemojo.com)

IMDB parser
===========

[](#imdb-parser)

Box Office Mojo parser for demo purpose only.

Table of Contents
-----------------

[](#table-of-contents)

1. [Overview](#overview)
2. [Installation](#installation)
3. [Quick Start](#quick-start)
4. [API Reference](#api-reference)
5. [Models](#models)
6. [Examples](#examples)
7. [Error Handling](#error-handling)
8. [Performance Considerations](#performance-considerations)
9. [Contributing](#contributing)

Overview
--------

[](#overview)

The IMDB Parser is a PHP library that scrapes Box Office Mojo and IMDB Pro to extract movie and box office data. It provides a clean, object-oriented interface for retrieving weekend box office rankings, yearly box office data, and detailed film information.

### Features

[](#features)

- Parse weekend box office rankings
- Extract yearly box office data
- Retrieve detailed film information from IMDB Pro
- Built-in caching system
- Comprehensive data models
- Support for cast, crew, and financial data

### Requirements

[](#requirements)

- PHP 8.0 or higher
- ext-dom extension
- ext-libxml extension
- Guzzle HTTP client

Installation
------------

[](#installation)

Install via Composer:

```
composer require resoul/imdb
```

Quick Start
-----------

[](#quick-start)

```
