PHPackages                             francis94c/vimeo-livestream - 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. francis94c/vimeo-livestream

ActiveLibrary[API Development](/categories/api)

francis94c/vimeo-livestream
===========================

PHP Client Library for Vimeo Live Stream

32501PHPCI failing

Since Sep 23Pushed 5y ago1 watchersCompare

[ Source](https://github.com/francis94c/vimeo-livestream)[ Packagist](https://packagist.org/packages/francis94c/vimeo-livestream)[ RSS](/packages/francis94c-vimeo-livestream/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![build](https://github.com/francis94c/vimeo-livestream/workflows/build/badge.svg)](https://github.com/francis94c/vimeo-livestream/workflows/build/badge.svg) [![Coverage Status](https://camo.githubusercontent.com/74d5871309d0713303c5aa3c0137d1be4066996f135e5077565e42b41bc697a6/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6672616e6369733934632f76696d656f2d6c69766573747265616d2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/francis94c/vimeo-livestream?branch=master) [![Maintainability](https://camo.githubusercontent.com/553d4e99313df980dffa3180ad7c243c877b05ff55f6d627620fc4541d5a300d/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f35663239343063363866643136633138313266632f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/francis94c/vimeo-livestream/maintainability) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/7f411c8918461442cadc3c4bebbffa46226d053f44057d84be8fdc148b4837e0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6672616e6369733934632f76696d656f2d6c69766573747265616d2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/francis94c/vimeo-livestream/?branch=master)

vimeo-livestream
================

[](#vimeo-livestream)

PHP Client Library for Vimeo Live Stream.

[![](https://camo.githubusercontent.com/380eec29fd1328311acce858a5a1c5f85c6d8a52a9d918f42560a3338b043a4f/68747470733a2f2f6c69766573747265616d2e636f6d2f6173736574732f696d616765732f7368617265642f6c69766573747265616d5f6f675f696d6167652e6a7067)](https://camo.githubusercontent.com/380eec29fd1328311acce858a5a1c5f85c6d8a52a9d918f42560a3338b043a4f/68747470733a2f2f6c69766573747265616d2e636f6d2f6173736574732f696d616765732f7368617265642f6c69766573747265616d5f6f675f696d6167652e6a7067)

Current Features Include

- Create New Event.
- Update an Event.
- Get Associated Accounts.
- Get Specific Accounts.
- Update Event Poster.
- Delete Event.

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

[](#installation)

This Live Stream API is available on Packagist as francis94c/vimeo-livestream

```
$ composer require francis94c/vimeo-livestream:dev-master
```

Usage
-----

[](#usage)

Creating a LiveStream Instance.

```
use LiveStream\LiveStream;

$livestream = new LiveStream('[YOUR_API_KEY]');
```

Before you proceed, note that `$livestream` function calls that return null, indicates that the requested resource was not found. In summary, a 404 HTTP Response Code was received as a result of the call.

**Every other HTTP Response Code except 200 &amp; 201 will throw an Exception.**

### Get Accounts

[](#get-accounts)

Get all LiveStream accounts linked to the current API key.

```
$accounts = $livestream->getAccounts(); // Returns an array of account resources.
```

### Get Specific Account

[](#get-specific-account)

Get a specific LiveStream Account.

```
$account = $livestream->getAccount(23456 /*Account ID*/); // Returns \LiveStream\Resources\Account.
```

### Create an Event

[](#create-an-event)

```
use LiveStream\Resources\Event;

$event = new Event("A Career Master Class" /*fullName*/);
// See https://livestream.com/developers/docs/api/#event-object
$event->setShortName("Master Class"); /*Or*/ $event->shortName = 'Master Class';
$event->setStartTime("2020-07-20 23:56:20"); /*Or*/ $event->startTime = /*Time in ISO8601 date time format*/
```

### Update an Event

[](#update-an-event)

```
use LiveStream\Resources\Event;

$event = new Event("Physics Live Class on Motions.");

$event->setDescription("Motion")
    ->setStartTime(date('Y-m-d H:i:s'))
    ->setEndTime(date('Y-m-d H:i:s'))
    ->setShortName("Physics Short Name")
    ->setIsDraft(false)
    ->addTag('a')
    ->addTag('a')
    ->setId(3456343);

$livestream = new LiveStream('abc');

$livestream->updateEvent(5637245, $event);
```

### Get RTMP Key

[](#get-rtmp-key)

```
$key = $livestream->getRtmpKey(3456 /*Account ID*/, 4567, /*Event ID*/); // Returns \LiveStream\Resources\RTMPKey.
echo $key->id . ' --- ' . $key->rtmpUrl;
// OR
echo $key->getId() . ' --- ' . $key->getRtmpUrl();
```

### Reset RTMP Key

[](#reset-rtmp-key)

```
$key = $livestream->resetRtmpKey(3456 /*Account ID*/, 4567, /*Event ID*/);
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 90.5% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/21140460?v=4)[The Full-Stack Jonin](/maintainers/francis94c)[@francis94c](https://github.com/francis94c)

---

Top Contributors

[![francis94c](https://avatars.githubusercontent.com/u/21140460?v=4)](https://github.com/francis94c "francis94c (67 commits)")[![cdubz](https://avatars.githubusercontent.com/u/10456740?v=4)](https://github.com/cdubz "cdubz (7 commits)")

---

Tags

livestreamvimeovimeo-api

### Embed Badge

![Health badge](/badges/francis94c-vimeo-livestream/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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