The official and easy to use BigBlueButton API for PHP, makes easy for developers to use BigBlueButton API for PHP 5.4+.
- PHP 5.4 or above.
- Curl library installed.
BigBlueButton API for PHP is also tested to work with HHVM and fully compatible with PHP 7.0.
bigbluebutton-api-php can be installed via Composer CLI
composer require bigbluebutton/bigbluebutton-api-php:dev-master
or by editing Composer.json
{
"require": {
"bigbluebutton/bigbluebutton-api-php": "dev-master"
}
}
You should have environment variables BBB_SECURITY_SALT
and BBB_SERVER_BASE_URL
defined in your sever.
The you will be able to call BigBlueButton API of your server. A simple usage example for create meeting looks like:
use BigBlueButton;
$bbb = new BigBlueButton();
$createMeetingParams = new CreateMeetingParameters('bbb-meeting-uid-65', 'BigBlueButton API Meeting');
$response = $bbb->createMeeting($createMeetingParams);
echo "Created Meeting with ID: " . $response->getMeetingId();
Bugs and feature request are tracked on GitHub
Make sure the code style configuration is applied by running PHPCS-Fixer.
./vendor/bin/php-cs-fixer fix
For every implemented feature add unit tests and check all is green by running the command below.
./vendor/bin/phpunit