PHPackages                             jwplayer/jwplatform - 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. jwplayer/jwplatform

ActiveLibrary[API Development](/categories/api)

jwplayer/jwplatform
===================

Official JW Player client

v2.0.0(4y ago)18384.5k↓22.8%16[3 issues](https://github.com/jwplayer/jwplatform-php/issues)[1 PRs](https://github.com/jwplayer/jwplatform-php/pulls)MITPHPPHP &gt;=5.6.0

Since Oct 27Pushed 3y ago28 watchersCompare

[ Source](https://github.com/jwplayer/jwplatform-php)[ Packagist](https://packagist.org/packages/jwplayer/jwplatform)[ Docs](https://github.com/jwplayer/jwplatform-php)[ RSS](/packages/jwplayer-jwplatform/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)DependenciesVersions (8)Used By (0)

JW Platform API Client
======================

[](#jw-platform-api-client)

The JWPlatform PHP library provides convenient access to the [JW Platform](https://www.jwplayer.com/products/jwplatform/)Management API from applications written in the PHP language.

Visit [JW Player Developer site](https://developer.jwplayer.com/jwplayer/reference#introduction-to-api-v2)for more information about JW Platform API.

Requirements
------------

[](#requirements)

PHP 5.6.0 and later.

Install
-------

[](#install)

### Composer

[](#composer)

You can install the bindings via [Composer](http://getcomposer.org/). Run the following command:

```
composer require jwplayer/jwplatform
```

To use the bindings, use Composer's [autoload](https://getcomposer.org/doc/01-basic-usage.md#autoloading):

```
require_once('vendor/autoload.php');
```

### Manual Installation

[](#manual-installation)

If you do not wish to use Composer, you can download the [latest release](https://github.com/jwplayer/jwplatform-php/releases). Then, to use the bindings, include the `init.php` file.

```
require_once('/path/to/jwplatform-php/init.php');
```

Dependencies
------------

[](#dependencies)

The bindings require the following extensions in order to work properly:

- [`curl`](https://secure.php.net/manual/en/book.curl.php), although you can use your own non-cURL client if you prefer

If you use Composer, these dependencies should be handled automatically. If you install manually, you'll want to make sure that these extensions are available.

Usage
-----

[](#usage)

Please refer to our [documentation](https://developer.jwplayer.com/) for all API functionality.

### Client setup

[](#client-setup)

```
$jwplatform_api = new Jwplayer\JwplatformClient('INSERT API SECRET');
```

### Get video metadata

[](#get-video-metadata)

```
$media_id = 'INSERT MEDIA ID';
$site_id = 'INSERT SITE ID';
$response = $jwplatform_api->Media->get($site_id, $media_id);
```

### V1 Client

[](#v1-client)

The V1 Client remains available for use but is deprecated. We strongly recommend using the V2 Client when possible.

```
$jwplatform_api = new Jwplayer\v1\JwplatformAPI('INSERT API KEY', 'INSERT API SECRET');
```

Development
-----------

[](#development)

Get [Composer](https://getcomposer.org/). For example, on Mac OS:

```
brew install composer
```

Install dependencies:

```
composer install
```

License
-------

[](#license)

JW Platform API library is distributed under the [MIT license](https://github.com/jwplayer/jwplatform-php/blob/master/LICENSE).

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity47

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 67.6% 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 ~199 days

Total

5

Last Release

1596d ago

Major Versions

v1.7.0 → v2.0.02022-01-03

### Community

Maintainers

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

---

Top Contributors

[![ksindi](https://avatars.githubusercontent.com/u/2092714?v=4)](https://github.com/ksindi "ksindi (23 commits)")[![dkirchhof](https://avatars.githubusercontent.com/u/2778643?v=4)](https://github.com/dkirchhof "dkirchhof (3 commits)")[![dannyjgibson](https://avatars.githubusercontent.com/u/2245915?v=4)](https://github.com/dannyjgibson "dannyjgibson (2 commits)")[![polishmatt](https://avatars.githubusercontent.com/u/514079?v=4)](https://github.com/polishmatt "polishmatt (2 commits)")[![MariusMatu](https://avatars.githubusercontent.com/u/8034903?v=4)](https://github.com/MariusMatu "MariusMatu (1 commits)")[![mdemauroy](https://avatars.githubusercontent.com/u/17426300?v=4)](https://github.com/mdemauroy "mdemauroy (1 commits)")[![monibons](https://avatars.githubusercontent.com/u/9555582?v=4)](https://github.com/monibons "monibons (1 commits)")[![Dawolee](https://avatars.githubusercontent.com/u/27169173?v=4)](https://github.com/Dawolee "Dawolee (1 commits)")

---

Tags

jwplatformjwplayerphpapijwplayervideo streamingjwplatform

### Embed Badge

![Health badge](/badges/jwplayer-jwplatform/health.svg)

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

###  Alternatives

[m165437/laravel-blueprint-docs

API Blueprint Renderer for Laravel

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

PHPackages © 2026

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