pawsSDB - An easy-to-use, high-level PHP class for SimpleDB

Sample Code & Libraries>Amazon SimpleDB>pawsSDB An easy to use, high level PHP class for SimpleDB
Community Contributed Software

  • Amazon Web Services provides links to these packages as a convenience for our customers, but software not authored by an "@AWS" account has not been reviewed or screened by AWS.
  • Please review this software to ensure it meets your needs before using it.

This package provides and easy-to-use, high-level PHP library to access SimpleDB. It includes the pawsSDB class, complete documentation, example code, and utilities.


Submitted By: Bruce Wampler
AWS Products Used: Amazon SimpleDB
Language(s): PHP
License: Apache License 2.0
Created On: June 3, 2008 3:19 PM GMT
Last Updated: September 21, 2008 7:50 PM GMT

About this Library

This library currently provides a high level, natural PHP programming style interface to AWS SimpleDB. It will eventually be extended to include S3 and EC2.

It relies on the standard Amazon_SimpleDB library, but wraps it in an easy to use class that makes it trivial to use SimpleDB with PHP. It is very small, and comes with complete documentation explaining each function of the class and provides usage examples.

The package also includes a PHP Web application that allows you to easily access your SimpleDB online. The app, pawsDemo.php, allows you to create, delete, and list domains. You can create, modify, examine, and delete items. You can perform queries. And you can list out the contents of a domain or the whole database. This app also demonstrates use of the pawsSDB class.

This package is Copyright © 2008 Bruce E. Wampler, and is released under the terms of the Apache 2.0 License.


Reference Documentation

Package Content

Directory Overview
aws-libs Source distribution of paws library, paws documentation, and Amazon_SimpleDB library.

Quick Start

The source for this package can be downloaded from as a tar.gz file: pawsSDB.tar.gz.

Unzip the package, ideally in your root directory. This will produce a directory /aws-libs, with subdirectories /Amazon and /paws. These subdirectories contain the Amazon_SimpleDB library distribution, the paws pawsSDB class definition, some tools, and the documentation. The file /aws-libs/paws/pawsConfig.php will have to be edited to add your AWS id and password and configure the path correctly. There is plenty of detail in the documentation.

Comments, Questions or Feedback

If you have any comments, questions or feedback on the library, please visit the Amazon SimpleDB discussion forums.
©2017, Amazon Web Services, Inc. or its affiliates. All rights reserved.