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 1mo ago

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

25

—

LowBetter than 37% of packages

Maintenance34

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

634d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7c2da6d1327f544f614bc08377ff678db4d55806586552e25a6a73caa996bc47?d=identicon)[benleeth](/maintainers/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

[netflie/whatsapp-cloud-api

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

640431.7k4](/packages/netflie-whatsapp-cloud-api)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[jasara/php-amzn-selling-partner-api

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

1344.8k1](/packages/jasara-php-amzn-selling-partner-api)[hardcastle/xrpl_php

PHP SDK / Client for the XRP Ledger

129.7k5](/packages/hardcastle-xrpl-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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