pplink / pagecall
This package is abandoned and no longer maintained.
No replacement package was suggested.
There is no license information available for the latest version (1.0.5) of this package.
PageCall PHP SDK
1.0.5
2018-07-17 02:43 UTC
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