# Integration Models & PHP Wrapper

This page helps you decide how to integrate with KlickTipp and whether using the optional PHP Wrapper makes sense for your use case.

## Integration Models at a Glance

KlickTipp offers two technical integration models:

**Direct API integration**

Use the KlickTipp APIs directly via HTTP requests. This is the recommended and most flexible approach.

**PHP Wrapper (optional)**

A helper library that simplifies common tasks for PHP-based projects. It does not add functionality beyond the API.

## Recommended: Direct API Integration

Direct integration with the KlickTipp APIs is the recommended approach for most use cases.

Use this approach if:

- You need full control over requests and responses
- You are building a long-term or complex integration
- You are working outside of PHP
- You want to implement your own error handling and retries


Avoid this approach only if:

- You want a very quick PHP-only prototype
- You explicitly prefer a higher-level abstraction


## Optional: PHP Wrapper

The PHP Wrapper is a convenience layer for PHP developers.

Use the PHP Wrapper if:

- Your project is PHP-based
- You want to reduce boilerplate code
- You are building internal tools or prototypes


Do not use the PHP Wrapper if:

- You require fine-grained request control
- You plan to support multiple programming languages
- You want to tightly couple business logic to API behavior


All business logic, validation rules, and automation behavior remain entirely within KlickTipp.
The wrapper does not alter this behavior.

Conceptual structure:

1. PHP Application
2. PHP Wrapper (optional)
3. KlickTipp API
4. KlickTipp Platform


For technical details such as available versions, dependencies, and installation instructions, refer to the package listing on Packagist:

→
[PHP Wrapper Reference](https://packagist.org/packages/klicktipp/php-connector)

## Summary

The **KlickTipp API** is the authoritative integration interface and should be the primary choice for all implementations.
The **PHP Wrapper** is entirely optional and exists only to simplify common tasks in PHP-based projects.

If you need maximum control, long-term stability, or are working outside of PHP, use the API directly.