PHPackages                             benleeth/omdb-php-sdk - 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. benleeth/omdb-php-sdk

ActiveLibrary[API Development](/categories/api)

benleeth/omdb-php-sdk
=====================

A PHP SDK to interact with OMDb API

v0.0.5(1y ago)011MITPHPPHP ^8.2

Since Aug 16Pushed 1y ago1 watchersCompare

[ Source](https://github.com/benleeth/omdbapi-php-sdk)[ Packagist](https://packagist.org/packages/benleeth/omdb-php-sdk)[ RSS](/packages/benleeth-omdb-php-sdk/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (6)Used By (0)

About
-----

[](#about)

A quick &amp; dirty PHP SDK to communicate with OMDb API

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

[](#installation)

Install via Composer:

```
composer require benleeth/omdb-php-sdk
```

Sign up for [OMDb API Key](https://www.omdbapi.com/apikey.aspx)

Add API key to `OMDB_API_KEY` environment variable in `.env`

Usage
-----

[](#usage)

Get Data by IMDb ID

```
use OmdbPhpSdk\Api\IdApi;

$idApi = new IdApi();
$idData = $idApi->getDataById('tt0087332');

print_r($idData);
```

Get Data by Title

```
use OmdbPhpSdk\Api\TitleApi;

$titleApi = new TitleApi();
$titleData = $titleApi->getDataByTitle('Kids', ['y' => '1995', 'type' => 'movie']);

print_r($titleData);
```

Get Data with Search

```
use OmdbPhpSdk\Api\SearchApi;

$searchApi = new SearchApi();
$searchData = $searchApi->getDataBySearch('Breaking Bad');

print_r($searchData);
```

Extra Params

ParameterValid OptionsDefault ValueDescriptiontypemovie, series, episodeType of result to returnyYear of releaseplotshort, fullshortReturn short or full plot (Not available on `OmdbPhpSdk\Api\SearchApi`)page1-1001Page number to return (Available on `OmdbPhpSdk\Api\SearchApi` only)

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~1 days

Total

5

Last Release

683d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3288142?v=4)[Ben Leeth](/maintainers/benleeth)[@benleeth](https://github.com/benleeth)

---

Top Contributors

[![benleeth](https://avatars.githubusercontent.com/u/3288142?v=4)](https://github.com/benleeth "benleeth (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/benleeth-omdb-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/benleeth-omdb-php-sdk/health.svg)](https://phpackages.com/packages/benleeth-omdb-php-sdk)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M19.9k](/packages/laravel-framework)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[netflie/whatsapp-cloud-api

The first PHP SDK to send and receive messages using a cloud-hosted version of the WhatsApp Business Platform

668535.6k5](/packages/netflie-whatsapp-cloud-api)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1348.7k1](/packages/jasara-php-amzn-selling-partner-api)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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