PHP library to comunicate with the Adobe Connect Web Service.
There are many actions implemented. Some of them are a sequence of actions, like the RecordingPasscode.
The package is available on Packagist. You can install it using Composer
$ composer require brunogasparetto/adobe-connect-client
use AdobeConnectClient\Connection\Curl\Connection;
use AdobeConnectClient\Client;
$connection = new Connection('https://hostname.adobeconnect.com');
$client = new Client($connection);
$commonInfo = $client->commonInfo();
You can use filters and sorters in some actions.
use AdobeConnectClient\Connection\Curl\Connection;
use AdobeConnectClient\Client;
use AdobeConnectClient\Entities\SCO;
use AdobeConnectClient\Filter;
use AdobeConnectClient\Sorter;
$connection = new Connection('https://hostname.adobeconnect.com');
$client = new Client($connection);
$client->login('username', 'password');
$folderId = 123;
$filter = Filter::instance()
->dateAfter('dateBegin', new DateTimeImmutable())
->like('name', 'ClassRoom');
$sorter = Sorter::instance()
->asc('dateBegin');
$scos = $client->scoContents($folderId, $filter, $sorter);
The entities, filters and sorter use Fluent Interface.
The AdobeConnectClient\Connection\Curl\Connection class accept an array of options to configure the CURL.
use AdobeConnectClient\Connection\Curl\Connection;
use AdobeConnectClient\Client;
// For tests with no SSL
$connection = new Connection(
'https://hostname.adobeconnect.com',
[
CURLOPT_SSL_VERIFYHOST => 0,
CURLOPT_SSL_VERIFYPEER => 0,
]
);
$client = new Client($connection);
$commonInfo = $client->commonInfo();
All Client actions are throwable.
use AdobeConnectClient\Connection\Curl\Connection;
use AdobeConnectClient\Client;
use AdobeConnectClient\Exceptions\NoAccessException;
$connection = new Connection('https://hostname.adobeconnect.com');
$client = new Client($connection);
// Throws NoAccessException if not logged in
$client->scoInfo(123);