PHP code example of bigbluebutton / bigbluebutton-api-php
1. Go to this page and download the library: Download bigbluebutton/bigbluebutton-api-php library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
bigbluebutton / bigbluebutton-api-php example snippets
use BigBlueButton\BigBlueButton;
use GuzzleHttp\Client;
use GuzzleHttp\Psr7\HttpFactory;
$factory = new HttpFactory();
$bbb = BigBlueButton::createWithHttpClient(
new Client(['timeout' => 10]),
$factory,
$factory,
'https://your-bbb-server.example.com/bigbluebutton/',
'your-secret',
);
bash
composer bash
# Using Composer alias
composer code-fix
# Or directly
PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --allow-risky yes