PHP Classes

File: readme.txt

Recommend this page to a friend!
  Classes of GrabzIt  >  GrabzIt PHP Library  >  readme.txt  >  Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: Documentation
Class: GrabzIt PHP Library
Take screenshots of Web pages using GrabzIt
Author: By
Last change: Fixed error messages and ensures all requests go via
Date: 1 year ago
Size: 1,134 bytes


Class file image Download
GrabzIt 3.4

This library allows you to programmatically convert HTML and URL's into images, DOCX documents, rendered HTML, PDF's, CSV's, spreadsheets and JSON. Additionally GrabzIt allows you to convert online videos into animated GIF's.

It is usually best to place these package files in their own directory.

To run the demo

Ensure the MBString extension is installed.

Open config.php and change the application key and application secret parameters to match what is found here:

If you are not on your local machine you can optionally change the handlerUrl to match the publicly accessible location of the GrabzItHandler.php file. Otherwise leave it as it is and the capture will be downloaded synchronously.

$grabzItApplicationKey = "APPLICATION KEY";
$grabzItApplicationSecret = "APPLICATION SECRET";
$grabzItHandlerUrl = "";

Ensure your application has read and write access to the "results" directory.

Finally run the index.php to start converting web pages.

More documentation can be found at:
For more information send a message to info at phpclasses dot org.