bbbondemand / bbb-vm-php
BBB On Demand VM library for PHP
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 1
Open Issues: 2
Type:project
Requires
- php: >=7.1
- ext-json: *
- guzzlehttp/guzzle: ^6.3
Requires (Dev)
- phpunit/phpunit: 9.*
This package is auto-updated.
Last update: 2025-06-17 23:18:43 UTC
README
This library is an official client to interact with instances via REST API managed by the BBB On Demand - a service, which provides BigBlueButton meetings and instances on demand at cloud scale. The service provides everything for customers to run BigBlueButton meetings in a cloud without worrying about an infrastructure.
The library allows to:
- manage instances running BigBlueButton
- get details about meetings
- manage recordings and more.
Usage of the library
-
Ensure that you have composer installed.
-
Add to you composer.json file:
{ "repositories": [ { "url": "https://github.com/bbbondemand/bbb-vm-php", "type": "git" } ], "require": { "bbbondemand/bbb-vm-php": "dev-main" } }
- Install the library and its dependencies by running:
composer install --no-dev
- To interact with the service register on the BBBOnDemand and get the following credentials:
- Customer Account ID
- APITOKEN for the For On Demand Instances.
- Run the code sample using the credentials above:
<?php declare(strict_types=1); require __DIR__ . '/vendor/autoload.php'; $vm = \BBBondemand\Vm::mk([ 'customerId' => 'Your Customer Account ID', 'customerApiToken' => 'Your APITOKEN for the For On Demand Instances', ]); var_dump( $vm->getInstances() );
Available methods (API)
Main class to interact with the services is Vm. Its method names are very close to REST API provided by the service:
- REST API calls:
- Billing
- getBillingSummary()
- Instances
- getInstances()
- createInstance()
- getInstance()
- stopInstance()
- deleteInstance()
- startInstance()
- getInstanceHistory()
- Meetings
- getMeetings()
- getMeeting()
- Recordings
- getRecordings()
- getRecording()
- unpublishRecording()
- deleteRecording()
- publishRecording()
- Regions
- getRegions()
- Billing
- Other utility methods:
- setUrlBuilder()
- getUrlBuilder()
- send()
- getLastResponse()
- setHttpClient()
- getHttpClient()
Please check the official Swagger documenation for the full description of the supported REST API by this library.
Examples of usage
Many examples of usage can be found in the ./tests directory.
Warning
The result of using of this library may cost money. Please check the pricing page for more details.
Credits
Thansk to:
- Bhavdip Pambhar (@bhavdip111): for initial version of this library
- @jackstr: for many improvements
Copyrights
All copyrights and intelectual property of the wonderful BigBlueButton open source project are acknowledged.