PHPackages                             twint-ag/sdk - 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. twint-ag/sdk

ActiveLibrary[API Development](/categories/api)

twint-ag/sdk
============

PHP SDK for TWINT

1.7.0(8mo ago)26.4k↓30.6%22MITPHPPHP &gt;=8.1

Since Jul 18Pushed 8mo ago2 watchersCompare

[ Source](https://github.com/Twint-AG/sdk)[ Packagist](https://packagist.org/packages/twint-ag/sdk)[ Docs](https://twint.ch)[ RSS](/packages/twint-ag-sdk/feed)WikiDiscussions latest Synced 1mo ago

READMEChangelogDependencies (41)Versions (26)Used By (2)

TWINT SDK
=========

[](#twint-sdk)

PHP SDK for TWINT.

Development
-----------

[](#development)

### Setup

[](#setup)

- Run `make dev` to start the development environment based on `docker compose` and enter a shell
- Copy `.env.example` to `.env` and configure your values
- Run `make install` to install composer dependencies

### Tests

[](#tests)

- Run `make test`
    - Run `make wiremock-setup` once, if you want to set up the local WireMock mappings
- Run `make test-unit` to run unit tests only
- Run `make test-integration` to run integration tests only

### All checks

[](#all-checks)

- Run `make check` to run all checks (tests, static analysis, linting, codegen). This should be done before pushing changes.
- Run `make static-analysis` to run PHPStan
- Run `make format` to apply auto-formatting

### Documentation

[](#documentation)

- Run `make dev-docs` to enter shell
- Run `make docs` to generate documentation

### Code generation

[](#code-generation)

Place new WSDL and XSD files in `resources/wsdl` directory and run `make codegen` to update the generated code.

### Release

[](#release)

Run `VERSION=… make tag`, e.g. `VERSION=1.0.0 make tag`, to create a new release tag. This will also push the tag to the remote repository and trigger synchronization with GitHub/Packagist.

### Multi-version PHP development

[](#multi-version-php-development)

The default PHP version for development is 8.1 but the SDK also supports 8.2. and 8.3. To switch the PHP version, edit `TWINT_SDK_PHP_VERSION` in the `.env` file and run `make restart` to boot the development environment with the selected PHP version.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance61

Regular maintenance activity

Popularity28

Limited adoption so far

Community15

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

Recently: every ~54 days

Total

25

Last Release

249d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d252dac071d52ce6657c4a3ad509ebf5d65de3fdd6afe69aabbb7ee523c567c1?d=identicon)[twint-ag](/maintainers/twint-ag)

---

Top Contributors

[![lstrojny](https://avatars.githubusercontent.com/u/79707?v=4)](https://github.com/lstrojny "lstrojny (554 commits)")

---

Tags

apicheckoutexpress-checkoutpaymentphpsdkswitzerlandtwintapisdkpaymentcheckouttwintexpress checkoutswitzerlandtwint.ch

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/twint-ag-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/twint-ag-sdk/health.svg)](https://phpackages.com/packages/twint-ag-sdk)
```

###  Alternatives

[openai-php/client

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

5.8k22.6M232](/packages/openai-php-client)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[php-soap/psr18-transport

PSR-18 HTTP Client transport for SOAP

183.4M20](/packages/php-soap-psr18-transport)[getbrevo/brevo-php

Official Brevo provided RESTFul API V3 php library

963.1M35](/packages/getbrevo-brevo-php)[theodo-group/llphant

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

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

Official DeepL API Client Library

2616.2M66](/packages/deeplcom-deepl-php)

PHPackages © 2026

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