brunogasparetto / adobe-connect-client
PHP Cliente for Adobe Connect API
Installs: 5 327
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 1
Forks: 4
Open Issues: 0
Requires
- php: ^7.0
- ext-curl: *
- ext-mbstring: *
- ext-simplexml: *
- lib-curl: *
Requires (Dev)
- phpunit/phpunit: ^7.0
README
Currently I no longer have access to Adobe Connect, so I am unable to continue to maintain this project.
Client for Adobe Connect API v9.5.4
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.
Installation
The package is available on Packagist. You can install it using Composer
$ composer require brunogasparetto/adobe-connect-client
Usage
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();
IMPORTANT
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);