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

ActiveLibrary[API Development](/categories/api)

d3/klicktipp-php-client
=======================

A PHP Client for the Klicktipp API

1.2.0(4mo ago)023MITPHPPHP ^8.0CI passing

Since Jan 9Pushed 3mo ago2 watchersCompare

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

READMEChangelogDependencies (9)Versions (8)Used By (0)

[![stability-mature](https://camo.githubusercontent.com/0436b27a281e60aa7756de8a24e4b00d5640727eb0dc85376d9af3f36857075f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73746162696c6974792d6d61747572652d3030383030302e737667)](https://camo.githubusercontent.com/0436b27a281e60aa7756de8a24e4b00d5640727eb0dc85376d9af3f36857075f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73746162696c6974792d6d61747572652d3030383030302e737667)[![latest tag](https://camo.githubusercontent.com/03cb75adc239abf1377742b015422d5d61cbf504dff89f2b11a47e87ac08dd57/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64332f6b6c69636b746970702d7068702d636c69656e743f6c6162656c3d72656c65617365)](https://packagist.org/packages/d3/klicktipp-php-client)[![MIT License](https://camo.githubusercontent.com/9b44b929c66daa5402bff187d65ea25919284e13b56f1f9718be090a4877e2a2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f64332f6b6c69636b746970702d7068702d636c69656e74)](https://git.d3data.de/D3Public/klicktipp-php-client/raw/branch/main/LICENSE.md)

[![english version](https://camo.githubusercontent.com/21d547b21afb74628dab5bad6089e0955caf2f975458b245fbbfcc02375fd36a/68747470733a2f2f6c6f676f732e6f7869646d6f64756c652e636f6d2f656e325f78732e737667)](README.md)

Klicktipp PHP Client
====================

[](#klicktipp-php-client)

A client for the Klicktipp API.

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

[](#installation)

This project can easily be installed through Composer.

```
composer require d3/klicktipp-php-client

```

Supported [API endpoints](https://www.klicktipp.com/de/support/wissensdatenbank/rest-application-programming-interface-api/)
----------------------------------------------------------------------------------------------------------------------------

[](#supported-api-endpoints)

✅ = Done, and tested
☑️ = Done, but not yet tested
❌ = Not yet developed
❗ = deprecated/not supported

- [Account](./src/Resources/Account.php) ✅

    - **Login** - create a session with the given credentials
    - **Logout** - terminate an existing session
    - **Get** - request account information and return a property list, use `getEntity` to get a filled [account enitity](./src/Entities/Account.php)
    - **Update** - change account properties
- [Field](./src/Resources/Field.php) ✅

    - **Index** - get an [id list of all fields](./src/Entities/FieldList.php)
    - **Get** - load a field and return a property list, use `getEntity` to get a filled [field entity](./src/Entities/Field.php)
    - **Create** - create a new field by given properties
    - **Update** - change field properties
    - **Delete** - delete a defined field
- [Subscriber](./src/Resources/Subscriber.php) ✅

    - **Index** - get an [id list of all subscribers](./src/Entities/SubscriberList.php)
    - **Get** - load a subscriber and return a property list, use `getEntity` to get a filled [subscriber entity](./src/Entities/Subscriber.php)
    - **Search** - get the subscriber id by given mail address
    - **Subscribe** - create a new subscriber by given properties
    - **Unsubscribe** - delete a subscriber by its mail address
    - **Tag** - add a tag to the subscriber
    - **Untag** - remove a tag from the subscriber
    - **Tagged** - get an [id list of all active subscribers](./src/Entities/SubscriberList.php) who are tagged with the given tag id
    - **Update** - change subscriber properties
    - **Delete** - delete a defined subscriber
    - **SignIn** - create a subscriber by an external subscription process
    - **SignOut** - remove a tag or a smart link (defined by an API key) from a subscriber by an external process
    - **SignOff** - unsubscribe a recipient by an external unsubscription process
- [Subscription](./src/Resources/SubscriptionProcess.php) ✅

    - **Index** - get an [id list of all subscriptions](./src/Entities/SubscriptionList.php)
    - **Get** - load a subscription and return a property list, use `getEntity` to get a filled [subscription entity](./src/Entities/Subscription.php)
    - **Create** - create a new subscription by given properties
    - **Update** - change subscription properties
    - **Redirect** - returns the URL of the confirmation page of the double opt-in process for the given recipient
    - **Delete** - delete a defined subscription
- [Tag](./src/Resources/Tag.php) ✅

    - **Index** - get an [id list of all tags](./src/Entities/TagList.php)
    - **Get** - load a tag and return a property list, use `getEntity` to get a filled [tag entity](./src/Entities/Tag.php)
    - **Create** - create a new tag by given properties
    - **Update** - change tag properties
    - **Delete** - delete a defined tag

Usage
-----

[](#usage)

### Endpoints vs. entities

[](#endpoints-vs-entities)

This library provides access to Klicktipp endpoints as well as more abstract entities of every object.

Endpoints are the raw tools to request Klicktipp transactions which must be combined in many cases to map a task. Often are customized parameters required.

The entities provide easy access to the most properties and offers common preconfigured tasks using the endpoints. All entity modifications are going kept in the object. To submit it to Klicktipp, use the `persist` call.

### Code examples

[](#code-examples)

#### Set-up connection

[](#set-up-connection)

Prepare the client for connecting to Klicktipp with your client key and secret key.

```
$klicktipp = new \D3\KlicktippPhpClient\Klicktipp(
    $clientKey,
    $secretKey,
    new \GuzzleHttp\Client(...)    // optional - a customized http client object
);
```

#### Login

[](#login)

```
$klicktipp->account()->login();
```

#### Use a subscriber

[](#use-a-subscriber)

```
$subscriberId = $klicktipp->subscriber()->search('me@johndoe.net');
$subscriber = $klicktipp->subscriber()->getEntity($subscriberId);
if ($subscriber->isSubscribed()) {
    $subscriber->changeEmailAddress('newMail@domain.tld');
    $subscriber->addTag($tagId);
    $subscriber->persist();  // send collected changes to Klicktipp
}
```

#### Logout

[](#logout)

```
$klicktipp->account()->logout();
```

Changelog
---------

[](#changelog)

See [CHANGELOG](CHANGELOG.md) for further information.

Contributing
------------

[](#contributing)

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue. Don't forget to give the project a star! Thanks again!

- Fork the Project
- Create your Feature Branch (git checkout -b feature/AmazingFeature)
- Commit your Changes (git commit -m 'Add some AmazingFeature')
- Push to the Branch (git push origin feature/AmazingFeature)
- Open a Pull Request

Licence
-------

[](#licence)

(status: 2025-01-05)

Distributed under the MIT license.

```
Copyright (c) D3 Data Development (Inh. Thomas Dartsch)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

```

For full copyright and licensing information, please see the [LICENSE](LICENSE.md) file distributed with this source code.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance80

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

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 ~73 days

Recently: every ~91 days

Total

6

Last Release

126d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4621553?v=4)[D³ Data Development](/maintainers/d3datadevelopment)[@d3datadevelopment](https://github.com/d3datadevelopment)

---

Top Contributors

[![SeifertDaniel](https://avatars.githubusercontent.com/u/9882400?v=4)](https://github.com/SeifertDaniel "SeifertDaniel (87 commits)")

---

Tags

phpapiKlicktipp

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[hubspot/api-client

Hubspot API client

23414.2M16](/packages/hubspot-api-client)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[resend/resend-php

Resend PHP library.

564.7M21](/packages/resend-resend-php)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

553.3M7](/packages/checkout-checkout-sdk-php)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

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