pplink / pagecall
PageCall PHP SDK
Installs: 142
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
pkg:composer/pplink/pagecall
Requires
- php: >=7.1.0
- ext-curl: *
This package is auto-updated.
Last update: 2021-08-14 15:00:41 UTC
README
The PageCall SDK for PHP makes it easy for developers to access PageCall in their PHP code.
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