PHPackages                             adamlc/wufoo-php-api-wrapper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. adamlc/wufoo-php-api-wrapper

ActiveLibrary[API Development](/categories/api)

adamlc/wufoo-php-api-wrapper
============================

A PHP 5.3+ Wrapper for the WuFoo API

0.0.1(12y ago)324.7k—4.5%2MITPHP

Since May 6Pushed 11y ago1 watchersCompare

[ Source](https://github.com/adamlc/wufoo-php-api-wrapper)[ Packagist](https://packagist.org/packages/adamlc/wufoo-php-api-wrapper)[ RSS](/packages/adamlc-wufoo-php-api-wrapper/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Wufoo PHP API Wrapper
=====================

[](#wufoo-php-api-wrapper)

[![Latest Stable Version](https://camo.githubusercontent.com/462f09eebf7a7ff73764908a40c062fcebb4a79d69cca589abca6e6208f3d87f/68747470733a2f2f706f7365722e707567782e6f72672f6164616d6c632f7775666f6f2d7068702d6170692d777261707065722f762f737461626c652e706e67)](https://packagist.org/packages/adamlc/wufoo-php-api-wrapper) [![Total Downloads](https://camo.githubusercontent.com/28d00923989510bee91c518509474ed61d2c9aff40f417df8c648136bd703a60/68747470733a2f2f706f7365722e707567782e6f72672f6164616d6c632f7775666f6f2d7068702d6170692d777261707065722f646f776e6c6f6164732e706e67)](https://packagist.org/packages/adamlc/wufoo-php-api-wrapper) [![Latest Unstable Version](https://camo.githubusercontent.com/0b7cf81dd3ae9a4fd1bb45fd87519caa5a178683aae55f46f87a0a8acff82143/68747470733a2f2f706f7365722e707567782e6f72672f6164616d6c632f7775666f6f2d7068702d6170692d777261707065722f762f756e737461626c652e706e67)](https://packagist.org/packages/adamlc/wufoo-php-api-wrapper) [![License](https://camo.githubusercontent.com/b62de77d15226281c796ef1b429b433ad99c4740089ae46bdbc7108be775625c/68747470733a2f2f706f7365722e707567782e6f72672f6164616d6c632f7775666f6f2d7068702d6170692d777261707065722f6c6963656e73652e706e67)](https://packagist.org/packages/adamlc/wufoo-php-api-wrapper)

This is a fork of the original Wufoo PHP library. This fork has tried to make the library more modern by using proper name spaces and exceptions. This class follows PSR2 and PSR4.

Chances are I have probably broken some stuff. I haven't tested everything and there is still work to do, but its a start....

The Wufoo PHP API plugin is meant to help make working with the Wufoo API easier for PHP developers. It doesn't do anything that working directly with the API can't do, it just provides an abstraction layer making getting the information you need easier.

### Composer

[](#composer)

To install Wufoo PHP API Wrapper as a Composer package add this to your composer.json:

```
"adamlc/wufoo-php-api-wrapper": "dev-master"
```

Run `composer update`

### Basics

[](#basics)

The API Wrapper is a collection of functions each for using a specific API. For example, this is how you would get data on your account's users:

```
$wrapper = new Adamlc\Wufoo\WufooApiWrapper($apiKey, $subdomain);
print_r($wrapper->getUsers());
```

Some APIs need more information to be able to return the information they are supposed to. For example, the Entries API needs to know what form to return data from. Each will be documented below.

### Full API Documentation

[](#full-api-documentation)

Available here:

Each API returns its own set of specific information which is all documented on Wufoo.com for reference.

### Users

[](#users)

Information about all users:

```
$wrapper = new Adamlc\Wufoo\WufooApiWrapper('KUUI-22JI-ENID-IREW', 'yoursubdomain')); //create the class
print_r($wrapper->getUsers());
```

Full documentation:

### Forms

[](#forms)

Information about all forms:

```
$wrapper = new Adamlc\Wufoo\WufooApiWrapper('KUUI-22JI-ENID-IREW', 'yoursubdomain'); //create the class
print_r($wrapper->getForms($identifier = null)); //No identifier needed to retrieve all forms, otherwise pass in a form URL or hash
```

Information about a specific form:

```
$wrapper = new Adamlc\Wufoo\WufooApiWrapper('KUUI-22JI-ENID-IREW', 'yoursubdomain'); //create the class
print_r($wrapper->getForms($identifier = 'k4j9jw')); //Identifier can be either a form hash or form URL.
```

Full documentation:

### Entries

[](#entries)

Entries from a form:

```
$wrapper = new Adamlc\Wufoo\WufooApiWrapper('KUUI-22JI-ENID-IREW', 'yoursubdomain'); //create the class
print_r($wrapper->getEntries('k4j9jw', 'forms', 'Filter1=EntryId+Is_equal_to+1')); //Notice the filter
```

Entries from a report:

```
$wrapper = new Adamlc\Wufoo\WufooApiWrapper('KUUI-22JI-ENID-IREW', 'yoursubdomain'); //create the class
print_r($wrapper->getReportEntries('k4j9jw', 'Filter1=EntryId+Is_equal_to+1')); //Notice the filter
```

Entries POST to a form:

```
$wrapper = new Adamlc\Wufoo\WufooApiWrapper('KUUI-22JI-ENID-IREW', 'yoursubdomain'); //create the class

//NOTE: Create WufooSubmitFields for the $postArray values
$postArray = array(new Adamlc\Wufoo\ValueObject\WufooSubmitField('Field1', 'Booyah!'), new Adamlc\Wufoo\ValueObject\WufooSubmitField('Field1', '/files/myFile.txt', $isFile = true));
print_r($wrapper->entryPost('f83u4d', $postArray));
```

Full documentation:

Full documentation:

### Fields

[](#fields)

Fields of a form:

```
$wrapper = new Adamlc\Wufoo\WufooApiWrapper('KUUI-22JI-ENID-IREW', 'yoursubdomain'); //create the class
print_r($wrapper->getFields('j9js9r')); //Identifier is a form URL or hash
```

Fields of a report:

```
$wrapper = new Adamlc\Wufoo\WufooApiWrapper('KUUI-22JI-ENID-IREW', 'yoursubdomain'); //create the class
print_r($wrapper->getReportFields('j9js9r')); //Identifier is a reporyt URL or hash
```

Bear in mind that fields may have `SubFields`, as is the case when using Wufoo-provided fields like Name, which has First and Last as subfields. Testing for SubFields and looping through those within the main loop while processing the data is a good idea.

Full documentation:

### Comments

[](#comments)

Comments are entered in the Wufoo.com Entry Manager.

Get comments from a form:

```
$wrapper = new Adamlc\Wufoo\WufooApiWrapper('KUUI-22JI-ENID-IREW', 'yoursubdomain'); //create the class
print_r($wrapper->getComments('j9js9r', $entryId = '1')); //You may remove the $entryId parameter to get all comments for a form by EntryId.
```

Full documentation:

### Reports

[](#reports)

Information about all reports:

```
$wrapper = new Adamlc\Wufoo\WufooApiWrapper('KUUI-22JI-ENID-IREW', 'yoursubdomain'); //create the class
print_r($wrapper->getReports());
```

Information about single form:

```
$wrapper = new Adamlc\Wufoo\WufooApiWrapper('KUUI-22JI-ENID-IREW', 'yoursubdomain'); //create the class
print_r($wrapper->getReports('a5u8r9'));
```

Full documentation:

\###Web Hook

Add a Web Hook to a form:

```
$wrapper = new Adamlc\Wufoo\WufooApiWrapper('KUUI-22JI-ENID-IREW', 'yoursubdomain'); //create the class
print_r($wrapper->webHookPut('a5u8r9', 'http://coolguy.com/webhooker/', 'key', $metadata = false);
```

Delete a Web Hook from a form:

```
$wrapper = new Adamlc\Wufoo\WufooApiWrapper('KUUI-22JI-ENID-IREW', 'yoursubdomain'); //create the class
print_r($wrapper->webHookDelete($formIdentifier = '432j83j', $hash = 'a5u8r9'));
```

Full documentation:

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4396d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/809944?v=4)[Adam Curtis](/maintainers/adamlc)[@adamlc](https://github.com/adamlc)

---

Top Contributors

[![adamlc](https://avatars.githubusercontent.com/u/809944?v=4)](https://github.com/adamlc "adamlc (8 commits)")

### Embed Badge

![Health badge](/badges/adamlc-wufoo-php-api-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/adamlc-wufoo-php-api-wrapper/health.svg)](https://phpackages.com/packages/adamlc-wufoo-php-api-wrapper)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
