{"id":18367663,"url":"https://github.com/jwplayer/jwplatform-php","last_synced_at":"2026-03-05T23:42:21.281Z","repository":{"id":37561815,"uuid":"69027261","full_name":"jwplayer/jwplatform-php","owner":"jwplayer","description":":peach: PHP library for the JW Platform API","archived":false,"fork":false,"pushed_at":"2022-08-03T21:01:31.000Z","size":1955,"stargazers_count":18,"open_issues_count":8,"forks_count":17,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-03-22T03:51:12.686Z","etag":null,"topics":["jwplatform","jwplayer","php"],"latest_commit_sha":null,"homepage":"https://developer.jwplayer.com/jw-platform/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jwplayer.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-23T13:28:28.000Z","updated_at":"2025-02-20T20:14:00.000Z","dependencies_parsed_at":"2022-08-08T21:00:10.231Z","dependency_job_id":null,"html_url":"https://github.com/jwplayer/jwplatform-php","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwplayer%2Fjwplatform-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwplayer%2Fjwplatform-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwplayer%2Fjwplatform-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwplayer%2Fjwplatform-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jwplayer","download_url":"https://codeload.github.com/jwplayer/jwplatform-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247513055,"owners_count":20950981,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jwplatform","jwplayer","php"],"created_at":"2024-11-05T23:22:51.180Z","updated_at":"2026-03-05T23:42:16.228Z","avatar_url":"https://github.com/jwplayer.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JW Platform API Client\n\nThe JWPlatform PHP library provides convenient access to the\n[JW Platform](https://www.jwplayer.com/products/jwplatform/)\nManagement API from applications written in the PHP language.\n\nVisit [JW Player Developer site](https://developer.jwplayer.com/jwplayer/reference#introduction-to-api-v2)\nfor more information about JW Platform API.\n\n## Requirements\n\nPHP 5.6.0 and later.\n\n## Install\n\n### Composer\n\nYou can install the bindings via [Composer](http://getcomposer.org/). Run the following command:\n\n```bash\ncomposer require jwplayer/jwplatform\n```\n\nTo use the bindings, use Composer's [autoload](https://getcomposer.org/doc/01-basic-usage.md#autoloading):\n\n```php\nrequire_once('vendor/autoload.php');\n```\n\n### Manual Installation\n\nIf you do not wish to use Composer, you can download the\n[latest release](https://github.com/jwplayer/jwplatform-php/releases).\nThen, to use the bindings, include the `init.php` file.\n\n```php\nrequire_once('/path/to/jwplatform-php/init.php');\n```\n\n## Dependencies\n\nThe bindings require the following extensions in order to work properly:\n\n- [`curl`](https://secure.php.net/manual/en/book.curl.php), although you can use your own non-cURL client if you prefer\n\nIf you use Composer, these dependencies should be handled automatically. If you install manually, you'll want to make sure that these extensions are available.\n\n## Usage\n\nPlease refer to our [documentation](https://developer.jwplayer.com/) for all API functionality.\n\n### Client setup\n\n```php\n$jwplatform_api = new Jwplayer\\JwplatformClient('INSERT API SECRET');\n```\n\n### Get video metadata\n\n```php\n$media_id = 'INSERT MEDIA ID';\n$site_id = 'INSERT SITE ID';\n$response = $jwplatform_api-\u003eMedia-\u003eget($site_id, $media_id);\n```\n\n### V1 Client\n\nThe V1 Client remains available for use but is deprecated. We strongly recommend using the V2 Client when possible.\n\n```php\n$jwplatform_api = new Jwplayer\\v1\\JwplatformAPI('INSERT API KEY', 'INSERT API SECRET');\n```\n\n## Development\n\nGet [Composer][composer]. For example, on Mac OS:\n\n```bash\nbrew install composer\n```\n\nInstall dependencies:\n\n```bash\ncomposer install\n```\n\n## License\n\nJW Platform API library is distributed under the\n[MIT license](https://github.com/jwplayer/jwplatform-php/blob/master/LICENSE).\n\n[composer]: https://getcomposer.org/\n[curl]: http://curl.haxx.se/docs/caextract.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwplayer%2Fjwplatform-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjwplayer%2Fjwplatform-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwplayer%2Fjwplatform-php/lists"}