2017 © Pedro Peláez
 

library page-call

PageCall PHP SDK

image

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

The README.md

PageCall SDK For PHP Build Status

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)

The Versions

26/07 2018

1.0.0.x-dev

1.0.0.9999999-dev https://www.pplink.net/

PageCall PHP SDK

  Sources   Download

The Requires

  • php >=7.1.0
  • ext-curl *

 

sdk pagecall pca