Quantcast

Calling all PHP Developers – VuzitPHP web services library

March 18, 2009 – 2:11 pm by Brent Matzelle   Printable Version Printable Version

PHP logo

On the coat tails of our web services API release we released VuzitPHP. This tool makes it such that PHP programmers can automatically upload, load, and delete documents using the Vuzit Platform. Below is an example of how to upload a document:


include_once "VuzitPHP/lib/vuzit.php";

Vuzit_Service::$PublicKey = 'YOUR_PUBLIC_API_KEY';
Vuzit_Service::$PrivateKey = 'YOUR_PRIVATE_API_KEY';

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

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

To get started all you need to do is download the code, sign up for a free account and replace the public and private keys with the keys from your account.

We’re Open Source Fans

A few of you may know I am the original author of PHPMailer the popular email transport library for PHP.  PHPMailer was downloaded over 3 million times, not including downloads from WordPress and Joomla as both projects use it.  As such I’m an “old school” PHP programmer and I’m pleased to bring Vuzit to the PHP community.

I’m also a huge fan of open source software (free as in beer) so I released PHPMailer under an open source license, allowing anyone to use it for commercial purposes. The VuzitPHP library has an open source license as well so you are free to build it directly into your free/commercial application. We at Vuzit believe that sharing source code improves the world we live in and hope that VuzitPHP will make a small contribution, whether or not you choose to use it with Vuzit.

Github logo

The team and I decided to post the project on the excellent Github social coding service. The purpose being that it allows developers to make their own versions (”forks” in coder-speak) of the project to make enhancements. It truly is an open way to share source code.

Getting Started

For those looking to get started using VuzitPHP check out the following wiki pages:

More Code Libraries Coming Soon!

We’re planning on writing libraries for a few more programming languages soon. So far the most requests that we’ve had are for the Microsoft .NET FrameworkRuby, and Python.  If you have one of your own then drop us an email.

  1. 2 Trackback(s)

  2. Apr 16, 2009: Vuzit Document Viewer Blog » Blog Archive » Ruby Online Document Viewer API Released
  3. Apr 30, 2009: Vuzit Web Services Command Line Tool - VuzitCL » Vuzit Document Viewer Blog

Post a Comment