PHPackages                             sofort/sofortlib-php - 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. sofort/sofortlib-php

ActiveLibrary[API Development](/categories/api)

sofort/sofortlib-php
====================

SOFORT API wrapper for PHP

3.3.2(8y ago)632.2M↓23%16[3 issues](https://github.com/sofort/sofortlib-php/issues)[6 PRs](https://github.com/sofort/sofortlib-php/pulls)11LGPL-3PHPPHP &gt;=5.3.10

Since Jun 22Pushed 4y ago23 watchersCompare

[ Source](https://github.com/sofort/sofortlib-php)[ Packagist](https://packagist.org/packages/sofort/sofortlib-php)[ RSS](/packages/sofort-sofortlib-php/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (1)Versions (22)Used By (11)

SofortLib-PHP @ SOFORT GmbH
===========================

[](#sofortlib-php--sofort-gmbh)

[![Build Status](https://camo.githubusercontent.com/2c5ca43585d3a859d261394c8acabcf11e3099a331ea10c8a66f3bcc9c2b039f/68747470733a2f2f7472617669732d63692e6f72672f736f666f72742f736f666f72746c69622d7068702e737667)](https://travis-ci.org/sofort/sofortlib-php)

This documentation explains the SofortLib PHP, its parts, how to set it up and how to test it.

DESCRIPTION
-----------

[](#description)

Integrate the SofortLib PHP into your project to communicate via PHP with the SOFORT API.

Find out more about the SOFORT API/SDK here:

SofortLib PHP Supports the following SOFORT Products:

1. SOFORT Überweisung (SOFORT Banking/Payment)
2. SOFORT Paycode
3. SOFORT Billcode
4. Refund
5. iDEAL

Install
-------

[](#install)

Install the `sofort/sofortlib-php` package using composer:

```
{
    "require": {
        "sofort/sofortlib-php": "3.*"
    }
}
```

SofortLib Package
-----------------

[](#sofortlib-package)

The SofortLib PHP package contains the following:

- the `/src` directory with the class-files
- an `/examples` folder, with examples of usage
- the folder `/test` with the unittests (for PHP Unit).

Functionality
-------------

[](#functionality)

- initiate a SOFORT Überweisung
- create/initiate a SOFORT Überweisung Paycode
- create/initiate a SOFORT Überweisung Billcode
- getting the details for one or more transactions
- getting the details for a period and/or status
- convert received XML to a PHP Object
- marking refunds
- getting the current iDEAL Bank list
- generate a forward URL for the iDEAL payment data
- creating checksum/hash for iDEAL Payment data
- creating checksum/hash for iDEAL Notifications

Usage
-----

[](#usage)

Find examples of usage for the different modules in the `/examples` directory.

Testing
-------

[](#testing)

Run the tests

```
./vendor/bin/phpunit

```

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity55

Moderate usage in the ecosystem

Community36

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

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

Recently: every ~148 days

Total

12

Last Release

2958d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/394540?v=4)[Klarna](/maintainers/Klarna)[@klarna](https://github.com/klarna)

![](https://avatars.githubusercontent.com/u/309633?v=4)[Jan Kohlhof](/maintainers/0x20h)[@0x20h](https://github.com/0x20h)

![](https://www.gravatar.com/avatar/6707b3c3b92b13528d934e306a3def6bb6cc858c960a020b3739b3a340bd57c5?d=identicon)[katzefudder](/maintainers/katzefudder)

![](https://www.gravatar.com/avatar/17e4d0eb8f971f8131223cbd0431b4131f9760559c53003562c996950152946c?d=identicon)[mensler](/maintainers/mensler)

---

Top Contributors

[![VasuLief](https://avatars.githubusercontent.com/u/4518408?v=4)](https://github.com/VasuLief "VasuLief (8 commits)")[![lxlang](https://avatars.githubusercontent.com/u/7984421?v=4)](https://github.com/lxlang "lxlang (4 commits)")[![ctwsb](https://avatars.githubusercontent.com/u/6491506?v=4)](https://github.com/ctwsb "ctwsb (3 commits)")[![katzefudder](https://avatars.githubusercontent.com/u/195709?v=4)](https://github.com/katzefudder "katzefudder (3 commits)")[![the-fruu](https://avatars.githubusercontent.com/u/15377758?v=4)](https://github.com/the-fruu "the-fruu (2 commits)")[![vojtasvoboda](https://avatars.githubusercontent.com/u/374917?v=4)](https://github.com/vojtasvoboda "vojtasvoboda (1 commits)")[![chmoelders](https://avatars.githubusercontent.com/u/3242889?v=4)](https://github.com/chmoelders "chmoelders (1 commits)")[![stockii](https://avatars.githubusercontent.com/u/5707777?v=4)](https://github.com/stockii "stockii (1 commits)")[![valeriitropin](https://avatars.githubusercontent.com/u/5775964?v=4)](https://github.com/valeriitropin "valeriitropin (1 commits)")[![0x20h](https://avatars.githubusercontent.com/u/309633?v=4)](https://github.com/0x20h "0x20h (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sofort-sofortlib-php/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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