Download the PHP package vonage/video without Composer
On this page you can find all versions of the php package vonage/video. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package video
Short Description Client package for the Vonage Video API Server operations
License Apache-2.0
Informations about the package video
Vonage PHP SDK for Video
This library requires a minimum PHP version of 8.1
This is a PHP client library for the Vonage Video API. It extends the Vonage PHP library. To use this, you'll need a Vonage account. Sign up [for free at nexmo.com][signup].
- Installation
- Usage
- Examples
- Contributing
Installation
To use the client library you'll need to have [created a Vonage account][signup].
To install the PHP client library to your project, we recommend using Composer.
PLEASE NOTE that this package is not designed to be used as a standalone. It requires the
vonage/client-core
package to work, but you might not have a PSR-11-compliant HTTP Client installed which is required for this. In order to get around this, installvonage/client-core
first, thenvonage/video
. This will cover all requirements of the package.
If you're new to Composer, here are some resources that you may find useful:
- Composer's Getting Started page from Composer project's documentation.
- A Beginner's Guide to Composer from the good people at ScotchBox.
Usage
If you're using Composer, make sure the autoloader is included in your project's bootstrap file:
Create a client with your Vonage application ID and private key:
For testing purposes you can change the API URL that the client makes requests to
from https://video.api.vonage.com
to something else. To do this, pass the base_video_url
option
when creating the Vonage client:
Examples
Creating a new Session
Create a new session with an Archive
Generating a Client Token
Supported APIs
The following is a list of Vonage Video APIs and whether the SDK provides support for them:
API | Supported? |
---|---|
Session Creation | ✅ |
Signaling | ✅ |
Force Muting | ✅ |
Archiving | ✅ |
Custom S3/Azure buckets | ❌ |
SIP Interconnect | ❌ |
Live Streaming Broadcasts | ❌ |
Experience Composer | ❌ |
Account Management | ❌ |