library page-call
PageCall PHP SDK
pplink/page-call
PageCall PHP SDK
- Thursday, July 26, 2018
- by webhacking
- Repository
- 2 Watchers
- 0 Stars
- 5 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
PageCall SDK For PHP
The PageCall
SDK for PHP makes it easy for developers to access PageCall in their PHP code., (*1)
Prerequisites
- PHP 7.0 or above
- PHP CURL extension
- Composer
Installation
composer require pplink/pagecall
Quick Examples
Create an PageCall Instance
// change path as needed
require_once __DIR__ . '/vendor/autoload.php';
$pageCall = new \PageCall\PageCall([
'accessKey' => 'test',
'secretKey' => 'test'
]);
Bring in a PageCall
// change path as needed
require_once __DIR__ . '/vendor/autoload.php';
try {
$pageCall = new \PageCall\PageCall([
'accessKey' => 'test',
'secretKey' => 'test'
]);
$pca = $pageCall->connectIn([
'userId' => $_POST['userId'],
'publicRoomId' => $_POST['publicRoomId']
]);
echo $pca['html'];
} catch (\PageCall\Exceptions\PageCallSDKException $e) {
} catch (\PageCall\Exceptions\PageCallAuthenticationException $e) {
}
Support
Contact us support@pplink.net
, (*2)