PHPackages                             respoke/respoke - 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. [Image &amp; Media](/categories/media)
4. /
5. respoke/respoke

ActiveLibrary[Image &amp; Media](/categories/media)

respoke/respoke
===============

PHP serverside library for the Respoke REST API

1.1.1(10y ago)24111MITPHPPHP &gt;=5.3.0

Since Sep 26Pushed 10y ago14 watchersCompare

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

READMEChangelogDependencies (1)Versions (3)Used By (0)

Respoke PHP Library [![Build Status](https://camo.githubusercontent.com/48008cf209db8663372245596a47c432ab180ca35c6739110929e13dd3633cb9/68747470733a2f2f7472617669732d63692e6f72672f726573706f6b652f726573706f6b652d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/respoke/respoke-php)
============================================================================================================================================================================================================================================================================================================

[](#respoke-php-library-)

Respoke PHP is the officially supported PHP library for [Respoke](https://respoke.io).

With Respoke, you can add live voice, video, text and data features to your website or mobile app. Check out our [Guides](https://docs.respoke.io/server/php/getting-started.html) to get started using Respoke and Respoke PHP now.

Please validate you have PHP 5.4.\* or greater installed.

Installation
------------

[](#installation)

Install [Respoke's PHP Library](https://packagist.org/packages/respoke/respoke)to your project using [Composer](https://getcomposer.org/).

```
composer require respoke/respoke

```

Running the library
-------------------

[](#running-the-library)

Install the library's dependencies.

```
composer install

```

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

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

```

Then use the library. Request access to Respoke at the [Respoke website](https://portal.respoke.io/#/signup).

```
use Respoke\Client;

$client = new Respoke\Client([
    "appId" => "APP_ID",
    "appSecret" => "APP_SECRET",
    "roleId" => "ROLE_ID",
    "endpointId" => "USER_NAME"
]);

$tokenId = $client->getTokenId();

```

Return this `$tokenId` to your front-end and pass it to the `token` property when connecting to Respoke.

```
json_encode(["token" => $tokenId]);

```

Running the tests
-----------------

[](#running-the-tests)

The test suite uses PHPUnit for test coverage.

```
phpunit --configuration phpunit.xml.dist

```

Contributing
------------

[](#contributing)

If you wish to submit an issue use the [issue tracker](https://github.com/respoke/respoke-php/issues).

1. Fork it ( [https://github.com/\[my-github-username\]/respoke-php/fork](https://github.com/%5Bmy-github-username%5D/respoke-php/fork) )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -a -m 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

Cutting a new release
---------------------

[](#cutting-a-new-release)

[PHPRelease](https://github.com/c9s/PHPRelease) is used to release a new version of this package. Details of the use of PHPRelease can be found on the project's readme.

This project follows [semantic versioning](http://semver.org/). The tl;dr of semver is:

- new **major** version when there are breaking changes to the public api of the library.
- new **minor** version when there are backward-compatible changes to the api, such as new features.
- new **patch** version when there are backward-compatible bug fixes, or other changes that do not affect the public API.

License
-------

[](#license)

This source code is licensed under The MIT License.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81% 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 ~54 days

Total

2

Last Release

3833d ago

### Community

Maintainers

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

---

Top Contributors

[![tiandavis](https://avatars.githubusercontent.com/u/376230?v=4)](https://github.com/tiandavis "tiandavis (17 commits)")[![chadxz](https://avatars.githubusercontent.com/u/309219?v=4)](https://github.com/chadxz "chadxz (4 commits)")

---

Tags

datastreamingaudiovideochatWebRTCrespoke

### Embed Badge

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

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

###  Alternatives

[php-ffmpeg/php-ffmpeg

FFMpeg PHP, an Object Oriented library to communicate with AVconv / ffmpeg

5.0k21.7M165](/packages/php-ffmpeg-php-ffmpeg)[opentok/opentok

OpenTok is a platform for creating real time streaming video applications, created by TokBox.

1413.0M10](/packages/opentok-opentok)[happyworm/jplayer

jPlayer allows you to create a media player with a consistent interface and experience across all browsers.

4.6k114.2k1](/packages/happyworm-jplayer)[danog/madelineproto

Async PHP client API for the telegram MTProto protocol.

3.4k855.0k18](/packages/danog-madelineproto)[codescale/ffmpeg-php

PHP wrapper for FFmpeg application

495270.5k1](/packages/codescale-ffmpeg-php)[char0n/ffmpeg-php

PHP wrapper for FFmpeg application

495225.1k1](/packages/char0n-ffmpeg-php)

PHPackages © 2026

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