Download the PHP package director-moav/the-kof-client without Composer

On this page you can find all versions of the php package director-moav/the-kof-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package the-kof-client

Stable release v1.0.1 is out

TheKofClient

A PHP client for Survey Monkey API V3 https://developer.surveymonkey.com/api/v3/ Project started 7/11/2017
Comments, Patches and Support requests can be sent here, at github.
Current Version: 0.01

Table of Contents

  1. Installing and Configuring

    • Dependencies
    • Installation
  2. Quick introduction to the API
    • Intro
    • Survey
    • Collectors
    • Responses
  3. Classes and Methods
  4. Examples

Installing and Configuring

Dependencies

  1. TheKofClient uses Zend Framework > 2.x HTTP client to communicate with SurveyMonkey servers.
    Later versions of this client might support a more generic way to communicate.

  2. While TheKofClient is part of the TalisMS library, It is so in name only. It follows the same naming convetions. But, it is a stand alone project.

  3. An account at SurveyMonkey with permissions to build apps.

  4. An app defined on SurveyMonkey with the permissions you need it to have (I suggest familiarizing yourself with SurveyMonkey APP and API usage before using this client).

  5. Access Token, which is copied from your app setting screen, and looks something like this P4BCgR2bIBdtj10AKrCX9sVRx.DHaoYcMgKFMAROePyn.IxS5H8Bovv4pj98M3N0xvIKVxW00o12at-mSgIzGiRR3TSPcVks4TBHp3nCxyd9Kv6Z9OFlrKD1O8UXFsXb

Installation

Using TalisMS
copy TheKof/src folder of this project, and put it under

Use as standalone lib with autoloader
Put source/Talis in your include path for PHP.
If you use autoloader, it should translate namespace separators \ and underscores _ to url path separators /
and add .php at the end.
Example: The class \TheKof\SurveyMonkeyClient will be included like that:

Use as standalone lib with simple includes
For this, copy the file boundle/thekofclient.php into your project and require_once(path/to/thekofclient.php).

Quick introduction to the API

Intro

TheKofClient aims at emulating the API itself as closely as possible, be self documenting as much as possible, and have a simple one point of entry. The examples following this are quick examples of the Client usage and a (very) short explanation of what they do and return. Those are not working examples, Intention is to show API only. For working examples check the examples folder. ... Means various parameters.

Survey

fetch All your surveys. Make sure you have setup the right permission in the APP dashboard on Surveymonkey (Scope: View Surveys)

dry Each method has a *_dry() version which can be used without an HTTP client, and will return a data structure represnting the request (url/headers/body)


All versions of the-kof-client with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package director-moav/the-kof-client contains the following files

Loading the files please wait ....