Skip to content
This repository

VuzitPHP, Vuzit Web Services library for PHP

INTRODUCTION

This is a library that allows developers to directly access the Vuzit Document Viewer Web Service API through a simple PHP script. Below is a basic upload example:


<?php  
include_once "VuzitPHP/lib/vuzit.php";  

Vuzit_Service::setPublicKey('YOUR_PUBLIC_API_KEY');
Vuzit_Service::setPrivateKey('YOUR_PRIVATE_API_KEY');

$doc = Vuzit_Document::upload("c:/path/to/document.pdf");  

echo "Document id: " . $doc->getId();  
?>

To get started you need to signup for a Vuzit account which gives you full access to the Vuzit APIs. Then simply replace your public and private keys in your code, and you’re ready to go.

SETUP

This application requires the PHP Client Library . Follow the installation instructions

A simple phpinfo() call will tell you if CURL is installed:

<?php phpinfo(); ?>

If you’re using the Windows version then the library is an optional module. Open your php.ini file and un-comment the following line:

extension=php_curl.dll

Then restart your web server. Verify with the phpinfo() call that it’s working. Sometimes on Windows machines the php.ini ‘extension_dir’ variable is set to ./ which doesn’t work. You will need to give it the full path. In this example the PHP installation is stored in C:\Program Files\php:

extension_dir = “C:/Program Files/php/ext”

Getting Started – Documentation

Below are some links to get you started using the tool.

LICENSE

Released under the MIT license. This license allows you to use the code in your proprietary projects.

MORE INFORMATION

For more information visit the Vuzit.com developer center

Feature Requests and Bug Reports

Email to support@vuzit.com or visit Vuzit Support

Something went wrong with that request. Please try again.