bigbluebutton / bigbluebutton-api-php
BigBlueButton PHP API Library for PHP
Installs: 589 407
Dependents: 13
Suggesters: 0
Security: 0
Stars: 183
Watchers: 23
Forks: 199
Open Issues: 33
Requires
- php: >=7.4
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- ext-simplexml: *
- marc-mabe/php-enum: ^v4.7.0
Requires (Dev)
- bmitch/churn-php: ^1.7.1
- fakerphp/faker: ^v1.23.1
- friendsofphp/php-cs-fixer: ^v3.48.0
- nunomaduro/phpinsights: ^v2.11.0
- phploc/phploc: ^7.0.2
- phpmetrics/phpmetrics: ^v2.8.2
- phpstan/phpstan: ^1.10
- phpunit/php-code-coverage: 9.2.30
- phpunit/phpunit: ^9.6.16
- squizlabs/php_codesniffer: ^3.8.1
- tracy/tracy: 2.9
- vlucas/phpdotenv: ^5.6
- wapmorgan/php-deprecation-detector: ^2.0.33
README
The official and easy to use BigBlueButton API for PHP, makes easy for developers to use BigBlueButton API for PHP 7.4+.
Installation and usage
The wiki contains all the documentation related to the PHP library. We have also written a samples to show a full install and usage example.
Submitting bugs and feature requests
Bugs and feature request are tracked on GitHub
Contributing guidelines
Code Quality 1: Style
Make sure the code style configuration is applied by running PHPCS-Fixer.
# using an alias
$ composer cs-fix
Code Quality 2: Static code analysis
PHPStan shall be used for static code analysis by running the command below:
# using an alias $ composer code-check # or the same w/o alias $ ./vendor/bin/phpstan analyse
Code Quality 3: Tests
For every implemented feature add unit tests and check all is green by running the command below.
# using an alias $ composer code-test # or the same w/o alias ./vendor/bin/phpunit
To run a single test
# using an alias $ composer code-test -- --filter BigBlueButtonTest::testApiVersion # or the same w/o alias ./vendor/bin/phpunit --filter BigBlueButtonTest::testApiVersion
A code-coverage report will be created along with the tests. This report will be stored in:
./var/coverage/
In case of trouble with the creation of the code-coverage report (e.g. local environment does not fulfill requirements) the creation can be skipped with:
# using an alias
$ composer code-test -- --no-coverage
Remark:
Some test will connect to an existing BBB-server, which is specified in the .env
-file. You
can specify your own BBB-server by copy that file into the same folder and name it .env.local
.
Exchange the credentials BBB_SERVER_BASE_URL
and BBB_SECRET
to your server's values.
Since this new file (.env.local
) takes precedence over the main file (.env
), you will now test
with your own server.