PHP code example of filippo-toso / screen-lab

1. Go to this page and download the library: Download filippo-toso/screen-lab library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

filippo-toso / screen-lab example snippets


use FilippoToso\ScreenLab\Client as ScreenLab;

$client = new ScreenLab('username', 'password', 'access_token');


$job = $client ->generateScan($url, $name, $width, $height);

$scan = $client->getScan($id);