PHP code example of dimaskao / library_for_making_screenshots
1. Go to this page and download the library: Download dimaskao/library_for_making_screenshots 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/ */
dimaskao / library_for_making_screenshots example snippets
use Dimaskao\Screenshoter\Screenshoter;
$screenshoter = new Screenshoter('path/to/folder');//in tis folder will be saving screenshots
$screenshoter->getScreenshots('dir/', 'B', 'C');