PHPackages                             klicktipp/php-connector - 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. klicktipp/php-connector

ActiveLibrary[API Development](/categories/api)

klicktipp/php-connector
=======================

Simple PHP connector for the KlickTipp REST API (session, API key, partner auth).

1.0.0(5mo ago)04MITPHP

Since Dec 1Pushed 4mo agoCompare

[ Source](https://github.com/klicktipp/php-connector)[ Packagist](https://packagist.org/packages/klicktipp/php-connector)[ Docs](https://www.klicktipp.com)[ RSS](/packages/klicktipp-php-connector/feed)WikiDiscussions main Synced 1mo ago

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

KlickTipp PHP Connector
=======================

[](#klicktipp-php-connector)

The KlickTipp PHP Connector is a lightweight PHP interface class for working with the KlickTipp REST API.
It supports three authentication methods:

- Session login (username + password)
- API key (listbuilding)
- Developer key + customer key (partner integrations)

This library is ideal for simple integrations, legacy systems, or server environments without additional HTTP client libraries.

---

Installation
------------

[](#installation)

Install the package via Composer:

```
composer require klicktipp/php-connector
```

After installation, include the file as usual:

```
require 'vendor/klicktipp/php-connector/klicktipp.api.inc';
```

---

Quick Start
-----------

[](#quick-start)

### Login → Add Subscriber → Logout

[](#login--add-subscriber--logout)

```
require 'klicktipp.api.inc';

$k = new KlicktippConnector();
$k->login('username', 'password');

$subscriber = $k->subscribe(
    'email@example.com',
    123,                  // list ID (optional)
    456,                  // tag ID (optional)
    ['fieldFirstName' => 'Max']
);

print_r($subscriber);

$k->logout();
```

---

Available Functions (Overview)
------------------------------

[](#available-functions-overview)

### 🔑 Authentication

[](#-authentication)

- `login($username, $password)`
- `logout()`

### 👤 Contacts

[](#-contacts)

- `subscribe($email, $listid = 0, $tagid = 0, $fields = [], $smsnumber = '')`
- `subscriber_update($subscriberid, $fields = [], $newemail = '', $newsmsnumber = '')`
- `subscriber_get($subscriberid)`
- `subscriber_index()`
- `subscriber_delete($subscriberid)`
- `unsubscribe($email)`
- `subscriber_search($email)`
- `subscriber_tagged($tagid)`

### 🏷️ Tags

[](#️-tags)

- `tag_index()`
- `tag_get($id)`
- `tag_create($name, $text)`
- `tag_update($id, $name, $text)`
- `tag_delete($id)`
- `tag($email, $tagids)`
- `untag($email, $tagid)`

### 📋 Opt-In Processes

[](#-opt-in-processes)

- `subscription_process_index()`
- `subscription_process_get($id)`
- `subscription_process_redirect($id, $email)`

### 🔑 API Key Functions

[](#-api-key-functions)

- `signin($apikey, $email, $fields = [], $smsnumber = '')`
- `signout($apikey, $email)`
- `signoff($apikey, $email)`

### 🤝 Developer Key + Customer Key

[](#-developer-key--customer-key)

Use this connector instead of `KlicktippConnector`:

```
$k = new KlicktippPartnerConnector($username, $developer_key, $customer_key);
```

---

Error Handling
--------------

[](#error-handling)

```
if (!$result) {
    echo $k->get_last_error();
}
```

---

Requirements
------------

[](#requirements)

- HTTPS support

---

License
-------

[](#license)

MIT License
(c) KlickTipp Team

---

Support
-------

[](#support)

- Website:
- Developer Guide:

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance74

Regular maintenance activity

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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

166d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e71eb070dc8095b6707665677dd719fe28439a3a83a084d98974104de961a74a?d=identicon)[klicktipp](/maintainers/klicktipp)

---

Top Contributors

[![siemendev](https://avatars.githubusercontent.com/u/11353665?v=4)](https://github.com/siemendev "siemendev (5 commits)")

---

Tags

apiemail marketingREST APInewsletterKlicktipp

### Embed Badge

![Health badge](/badges/klicktipp-php-connector/health.svg)

```
[![Health](https://phpackages.com/badges/klicktipp-php-connector/health.svg)](https://phpackages.com/packages/klicktipp-php-connector)
```

###  Alternatives

[gdebrauwer/laravel-hateoas

Expose the authorization logic of your REST API using HATEOAS links on your Laravel API resources

17389.4k](/packages/gdebrauwer-laravel-hateoas)[shahghasiadil/laravel-api-versioning

Elegant attribute-based API versioning solution for Laravel applications with built-in deprecation management and version inheritance

2913.6k](/packages/shahghasiadil-laravel-api-versioning)

PHPackages © 2026

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