PHPackages                             walker-furniture/surveymonkey-api-v3 - 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. walker-furniture/surveymonkey-api-v3

AbandonedLibrary

walker-furniture/surveymonkey-api-v3
====================================

PHP class for SurveyMonkey API.

v1.0.2(6y ago)062OSL-3.0PHPPHP &gt;=5.1

Since Nov 3Pushed 6y agoCompare

[ Source](https://github.com/walker-furniture/surveymonkey-api-v3)[ Packagist](https://packagist.org/packages/walker-furniture/surveymonkey-api-v3)[ Docs](https://github.com/walker-furniture/surveymonkey-api-v3)[ RSS](/packages/walker-furniture-surveymonkey-api-v3/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

PHP class for SurveyMonkey API.
===============================

[](#php-class-for-surveymonkey-api)

Notes
-----

[](#notes)

Forked from

- Adding a constructor variable for what SurveyMonkey refers to as "private apps", since private apps do not require an API key.

Basic usage
-----------

[](#basic-usage)

```
$SM = new SurveyMonkey("myApiKey" , "myAccessToken");
$result = $SM->getSurveyList();
if ($result["success"]) print_r( $result["data"] );
else print_r($result["message"]);   // Print out the error message

```

All methods return an array containing a **success** boolean, and the **data** -or- an error **message**

Advanced
--------

[](#advanced)

```
$SM = new SurveyMonkey("myApiKey" , "myAccessToken",
    array(  // Override default API options (quite useless at the moment)
        'protocol' => 'http',                       // will not work.. they require SSL
        'hostname' => 'fake-api.surveymonkey.net'   // will also not work..
    ),
    array(  // CURL override options
        CURLOPT_SSL_VERIFYPEER => false     // Better add cacert.pam, no?
        // ......
    ),
    isPrivate = false
);
$result = $SM->getSurveyList(array(
    "fields" => array(
        "title",
        "page",
        "start_modified_at",
        "end_modified_at",
        "sort_by"
    ),
));

```

All methods
-----------

[](#all-methods)

**getSurveyList**

```
/**
 * Returns a list of surveys owned or shared with the authenticated user
 * @see https://developer.surveymonkey.com/api/v3/#surveys
 * @param array $params optional request array
 * @return array Result
 */
public function getSurveyList($params = array()){}

```

**getSurveyDetails**

```
/**
 * Retrieve a given survey's metadata.
 * @see https://developer.surveymonkey.com/api/v3/#surveys-id-collectors
 * @param string $surveyId Survey ID
 * @param array $params optional request array
 * @return array Results
 */
public function getSurveyDetails($surveyId, $params = array()){}

```

**getCollectorList**

```
/**
 * Retrieves a paged list of collectors for a survey in a user's account.
 * @see https://developer.surveymonkey.com/api/v3/#collectors-id
 * @param string $surveyId Survey ID
 * @param array $params optional request array
 * @return array Results
 */
public function getCollectorList($surveyId, $params = array()){}

```

**getRespondentList**

```
/**
 * Retrieves a paged list of respondents for a given survey and optionally collector
 * @see https://developer.surveymonkey.com/api/v3/#surveys-id-responses-bulk
 * @param string $surveyId Survey ID
 * @param array $params optional request array
 * @return array Results
 */
public function getRespondentList($surveyId, $params = array()){}

```

**getResponses**

```
/**
 * Takes a list of respondent and returns the responses that correlate to them.
 * @param string $surveyId Survey ID
 * @param array $params optional request array
 * @return array Results
 */
public function getResponses($surveyId, $params = []){}

```

**createCollector**

```
/**
* Retrieves a paged list of templates provided by survey monkey.
* @see https://developer.surveymonkey.com/api/v3/#surveys-id-collectors
* @param string $surveyId Survey ID
* @param string $collectorName optional Collector Name - defaults to 'New Link'
* @param string $collectorType required Collector Type - only 'weblink' currently supported
* @param array $params optional request array
* @return array Results
*/
public function createCollector($surveyId, $collectorName = null, $collectorType = 'weblink'){}

```

**createFlow**

```
/**
 * Create a survey, email collector and email message based on a template or existing survey.
 * @see https://developer.surveymonkey.com/api/v3/#surveys
 * @param string $surveyTitle Survey Title
 * @param string $from_survey_id Existing survey
 * @param array $params optional request array
 * @return array Results
 */
public function createFlow($surveyTitle, $from_survey_id, $params = array()){}

```

**updateSurvey**

```
/**
 * Modifies a survey’s title, nickname or language.
 * @see https://developer.surveymonkey.net/api/v3/#surveys
 * @param string $surveyID Survey ID
 * @param array $params optional request array
 * @return array Results
 */
public function updateSurvey($surveyID, $params = array()){}

```

API version
-----------

[](#api-version)

v3

Tests
-----

[](#tests)

*TODO*

License
-------

[](#license)

Open Software License 3.0

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity59

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

Every ~1071 days

Total

2

Last Release

2406d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7def53412f4e388b928781f0b114a46876351daf0ce7e0f5796e494da6257d59?d=identicon)[smoopins](/maintainers/smoopins)

---

Top Contributors

[![liogi](https://avatars.githubusercontent.com/u/9954110?v=4)](https://github.com/liogi "liogi (6 commits)")

---

Tags

phpsurveymonkey

### Embed Badge

![Health badge](/badges/walker-furniture-surveymonkey-api-v3/health.svg)

```
[![Health](https://phpackages.com/badges/walker-furniture-surveymonkey-api-v3/health.svg)](https://phpackages.com/packages/walker-furniture-surveymonkey-api-v3)
```

###  Alternatives

[pestphp/pest-plugin-stressless

Stressless plugin for Pest

67792.6k16](/packages/pestphp-pest-plugin-stressless)

PHPackages © 2026

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