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.8.3(1mo ago)29.3k↓27%3[1 issues](https://github.com/Twint-AG/sdk/issues)2MITPHPPHP &gt;=8.1

Since Jul 18Pushed 1mo 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 yesterday

READMEChangelogDependencies (129)Versions (29)Used By (2)

TWINT SDK
=========

[](#twint-sdk)

PHP SDK for TWINT.

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

[](#development)

### Setup

[](#setup)

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

### Tests

[](#tests)

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

### All checks

[](#all-checks)

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

### Documentation

[](#documentation)

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

### Code generation

[](#code-generation)

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

### Release

[](#release)

Run `just tag `, e.g. `just tag 1.0.0`, 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, 8.3, 8.4, and 8.5. To switch the PHP version, edit `TWINT_SDK_PHP_VERSION` in the `.env` file and run `just restart` to boot the development environment with the selected PHP version.

The SSL engine can be changed via `TWINT_SDK_PHP_CURL_SSL_ENGINE` in `.env` (options: `openssl`, `nss`, `nss-nobignum`, `gnutls`). The pinned base image for each combination is in `resources-dev/php/` and managed by Renovate.

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance83

Actively maintained with recent releases

Popularity30

Limited adoption so far

Community17

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

Recently: every ~105 days

Total

28

Last Release

35d 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 (623 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

[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35789.4k2](/packages/telnyx-telnyx-php)[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[openai-php/client

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

5.8k28.0M318](/packages/openai-php-client)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28150.5k](/packages/phpro-http-tools)[n1ebieski/ksef-php-client

PHP API client that allows you to interact with the API Krajowego Systemu e-Faktur

9067.8k](/packages/n1ebieski-ksef-php-client)

PHPackages © 2026

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