PHPackages                             t3mnikov/livekit-sdk-php - 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. t3mnikov/livekit-sdk-php

ActiveLibrary[API Development](/categories/api)

t3mnikov/livekit-sdk-php
========================

PHP SDK for LiveKit SFU

0.1.1(3y ago)0121MITPHPPHP ^7.2.0

Since Jun 24Pushed 3y ago1 watchersCompare

[ Source](https://github.com/t3mnikov/livekit-sdk-php)[ Packagist](https://packagist.org/packages/t3mnikov/livekit-sdk-php)[ RSS](/packages/t3mnikov-livekit-sdk-php/feed)WikiDiscussions main Synced 1mo ago

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

LiveKit Server SDK for PHP
==========================

[](#livekit-server-sdk-for-php)

PHP SDK to manage rooms, egress and to create access tokens. This package is designed to work with [livekit-server](https://github.com/livekit/livekit-server). Use it with a PHP backend to manage access to LiveKit. Data exchange is based on JSON

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

[](#installation)

### Requirements

[](#requirements)

- php: &gt;= 7.2

### Composer

[](#composer)

```
composer require t3mnikov/livekit-sdk-php

```

### Creating Access Tokens

[](#creating-access-tokens)

Creating a token for participant to join a room.

```
use T3mnikov\AccessToken;
use T3mnikov\AccessTokenOptions;

$tokenOptions = new AccessTokenOptions();
$tokenOptions->setName('My Name');
$tokenOptions->setIdentity('Anybody');

$accessToken = new AccessToken($apiKey, $secret, $tokenOptions);

$grants = new VideoGrant();
$grants->setRoomName($testRoom);
$grants->setRoomJoin();

$accessToken->addGrant($grants);
echo $token = $accessToken->getToken();
```

### Managing Rooms

[](#managing-rooms)

Receive list rooms.

```
use T3mnikov\RoomServiceClient;

$host = 'https://my.livekit.host';
$service = new RoomServiceClient($host, 'api-key', 'secret-key');

// List rooms.
$rooms = $service->listRooms();
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

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

Total

2

Last Release

1409d ago

### Community

Maintainers

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

---

Top Contributors

[![t3mnikov](https://avatars.githubusercontent.com/u/11781965?v=4)](https://github.com/t3mnikov "t3mnikov (6 commits)")

### Embed Badge

![Health badge](/badges/t3mnikov-livekit-sdk-php/health.svg)

```
[![Health](https://phpackages.com/badges/t3mnikov-livekit-sdk-php/health.svg)](https://phpackages.com/packages/t3mnikov-livekit-sdk-php)
```

###  Alternatives

[sylius/sylius

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

8.4k5.6M650](/packages/sylius-sylius)[saloonphp/saloon

Build beautiful API integrations and SDKs with Saloon

2.4k9.6M467](/packages/saloonphp-saloon)[irazasyed/telegram-bot-sdk

The Unofficial Telegram Bot API PHP SDK

3.3k4.5M84](/packages/irazasyed-telegram-bot-sdk)[googleads/googleads-php-lib

Google Ad Manager SOAP API Client Library for PHP

67410.3M25](/packages/googleads-googleads-php-lib)[hubspot/api-client

Hubspot API client

23414.2M16](/packages/hubspot-api-client)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)

PHPackages © 2026

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