ondrakub/screenshotmachine-php

This package is abandoned and no longer maintained. No replacement package was suggested.

Easy-to-use library for works with https://screenshotmachine.com.

v1.0 2015-01-08 09:06 UTC

This package is not auto-updated.

Last update: 2021-02-19 21:43:24 UTC


README

Screenshomachine for PHP is a very small and easy-to-use library for works with https://screenshotmachine.com

Install

via composer

php composer.phar require ondrakub/screenshotmachine-php

Usage

It is simple to use.

$params = [
		'key' => 'xxxxxx',
		'size' => Screenshotmachine::SIZE_F,
		'url' => 'http://www.kubon.cz',
		'format' => Screenshotmachine::PNG
	];

$sm = new Screenshotmachine($params);

$sm->getScreen();

Parameters for constructor you can find in documentation https://screenshotmachine.com/apiguide.php

(c) Ondřej Kubíček, 2015 (http://www.kubon.cz)