PHPackages                             jc21/plex-api - 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. jc21/plex-api

ActiveLibrary[API Development](/categories/api)

jc21/plex-api
=============

PHP Api for Plex

2.1(3y ago)388059[4 issues](https://github.com/jc21/plex-api/issues)[1 PRs](https://github.com/jc21/plex-api/pulls)BSD-1-ClausePHPPHP &gt;=7.4

Since Aug 19Pushed 3y ago6 watchersCompare

[ Source](https://github.com/jc21/plex-api)[ Packagist](https://packagist.org/packages/jc21/plex-api)[ Docs](https://github.com/jc21/plex-api)[ RSS](/packages/jc21-plex-api/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

Plex API for PHP
================

[](#plex-api-for-php)

This is a basic API wrapper for Plex. See the [documentation](docs/Documentation.md) for functionality.

This doesn't use the Plex.tv API apart from signing in.

XML data returned is interpreted into arrays.

### Installing via Composer

[](#installing-via-composer)

```
# Install Composer
curl -sS https://getcomposer.org/installer | php
```

Next, run the Composer command to install the latest stable version:

```
composer.phar require jc21/plex-api
```

After installing, you need to require Composer's autoloader:

```
require 'vendor/autoload.php';
```

### Using

[](#using)

```
use jc21\PlexApi;

$client = new PlexApi('192.168.0.10');
$client->setAuth('username', 'password');
$result = $client->getOnDeck();
print_r($result);
```

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 82% 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 ~712 days

Total

5

Last Release

1111d ago

Major Versions

1.2 → 2.02022-07-19

PHP version history (2 changes)1.0PHP &gt;=5.3.0

2.0PHP &gt;=7.4

### Community

Maintainers

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

---

Top Contributors

[![godsgood33](https://avatars.githubusercontent.com/u/1922710?v=4)](https://github.com/godsgood33 "godsgood33 (73 commits)")[![jc21](https://avatars.githubusercontent.com/u/1518257?v=4)](https://github.com/jc21 "jc21 (11 commits)")[![lhilton](https://avatars.githubusercontent.com/u/745338?v=4)](https://github.com/lhilton "lhilton (5 commits)")

---

Tags

apimediaplex

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jc21-plex-api/health.svg)

```
[![Health](https://phpackages.com/badges/jc21-plex-api/health.svg)](https://phpackages.com/packages/jc21-plex-api)
```

###  Alternatives

[m165437/laravel-blueprint-docs

API Blueprint Renderer for Laravel

22779.5k](/packages/m165437-laravel-blueprint-docs)

PHPackages © 2026

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