dev-master
9999999-devScreenLeap API Wrapper
MIT
The Requires
The Development Requires
by Alex Grand
Wallogit.com
2017 © Pedro Peláez
ScreenLeap API Wrapper
ScreenLeap is a Service that allows you to share desktop with other users, (*1)
Add to composer.json in require section:, (*2)
js
"arilas/screenleap-wrapper": "dev-master", (*3)
Run composer update, (*4)
If you use ZF2 add importing module to application.config.php file:
'Arilas\ScreenLeap', (*5)
### Setting Configuration: To global.php add the following code block:, (*6)
`````php, (*7)
'arilas' => [
'screenleap' => [
'accountId' => 'your account id',
'token' => 'your auth token',
],
],
`````, (*8)
### Starting Desktop Sharing:
Receive ScreenLeap service instance from ServiceLocator:
php
$screenLeapService = $serviceLocator->get('arilas.screenleap');, (*9)
Get Sharing:, (*10)
php
$share = $screenLeapService->shareScreen();, (*11)
Result have methods:, (*12)
ScreenLeap API Wrapper
MIT