PHPackages                             lsv/tvmazeapi - 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. lsv/tvmazeapi

ActiveLibrary[API Development](/categories/api)

lsv/tvmazeapi
=============

PHP Wrapper for TV Maze API

1.0.6(9y ago)038MITPHP ^5.6|^7.0

Since Dec 13Compare

[ Source](https://github.com/lsv/tvmazeapi)[ Packagist](https://packagist.org/packages/lsv/tvmazeapi)[ RSS](/packages/lsv-tvmazeapi/feed)WikiDiscussions Synced today

READMEChangelog (1)Dependencies (11)Versions (8)Used By (0)

TV Maze API
===========

[](#tv-maze-api)

[![Build Status](https://camo.githubusercontent.com/221e2ea15f4b50fb328c393a26ddba1e4e9968cbf01f7ea32ce4e91c2a424066/68747470733a2f2f7472617669732d63692e6f72672f6c73762f74766d617a656170692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/lsv/tvmazeapi)[![codecov](https://camo.githubusercontent.com/f9866af2013018cfd45f7dd092264af722075a3349dac49426e71bd947697fdc/68747470733a2f2f636f6465636f762e696f2f67682f6c73762f74766d617a656170692f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/lsv/tvmazeapi)[![SensioLabsInsight](https://camo.githubusercontent.com/852ffff14d40433f045a8e69b33e361a51c285489d797d8cb3acd1927ab6f4fc/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f38393764336434662d356538612d346531322d616638322d3633393236643239303934352f6d696e692e706e67)](https://insight.sensiolabs.com/projects/897d3d4f-5e8a-4e12-af82-63926d290945)[![StyleCI](https://camo.githubusercontent.com/d0b6755e8eb5e575bb7fae71499496063f96e4eeab0aea36dae46ea9788009db/68747470733a2f2f7374796c6563692e696f2f7265706f732f37363337393035392f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/76379059)

PHP wrapper for tvmaze.com API

### Install

[](#install)

`composer require lsv/tvmazeapi`

or add it to your `composer.json` file

```
"require": {
    "lsv/tvmazeapi": "^1.0"
}
```

### Usage

[](#usage)

```
use Lsv\TvmazeApi\Api\Show;

// Search for a show
$results = Show::getInstance()->search($query);
// $results = Lsv\TvmazeApi\Response\ShowResponse[]

// Search for a single show
$result = Show::getInstance()->singleSearch($query, true, true);
// $result = Lsv\TvmazeApi\Response\ShowResponse
// first true = Embed episodes
// second true = Embed next episode

// Find by tvmaze ID
$result = Show::getInstance()->findById($id, true, true);
// $result = Lsv\TvmazeApi\Response\ShowResponse
// first true = Embed episodes
// second true = Embed next episode

// Find by another sites ID
// Following methods can be used: lookupFromTvrage, lookupFromThetvdb or lookupFromImdb
$result = Show::getInstance()->lookupFromImdb($id);
// $result = Lsv\TvmazeApi\Response\ShowResponse
// first true = Embed episodes
// second true = Embed next episode
```

### What and what not

[](#what-and-what-not)

EndpointsCoveredShow search**yes**Show single search**yes**Show Lookup**yes**Show main information**yes**People searchnoSchedulenoFull schedulenoShow episode list**yes**Episode by numbernoEpisodes by datenoShow seasonsnoShow castnoShow crewnoShow AKA'snoShow indexnoPerson main informationnoPerson cast creditsnoPerson crew creditsnoShow updatesno### License

[](#license)

The MIT License (MIT)

Copyright (c) 2016 Martin Aarhof

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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 ~5 days

Total

7

Last Release

3455d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ff9304e6a7caa208d631a1529240a97dff2f47dadde7bff153e8a90818047168?d=identicon)[lsv](/maintainers/lsv)

---

Top Contributors

[![lsv](https://avatars.githubusercontent.com/u/20708?v=4)](https://github.com/lsv "lsv (20 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/lsv-tvmazeapi/health.svg)

```
[![Health](https://phpackages.com/badges/lsv-tvmazeapi/health.svg)](https://phpackages.com/packages/lsv-tvmazeapi)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.8M712](/packages/sylius-sylius)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[eliashaeussler/cache-warmup

Composer package to warm up website caches, based on a given XML sitemap

75419.2k9](/packages/eliashaeussler-cache-warmup)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9317.2k55](/packages/open-dxp-opendxp)

PHPackages © 2026

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