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

ActiveLibrary

essamkhaled/sofortlib-php
=========================

SOFORT API wrapper for PHP

3.1.1(9y ago)019LGPL-3PHPPHP &gt;=5.3.10

Since Jun 22Pushed 9y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (13)Used By (0)

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

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity65

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

Recently: every ~81 days

Total

9

Last Release

3496d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ef2468991b4a3bd3cc7f6ab581bedb6e18ff67a29232c61ca01a919e4eefae36?d=identicon)[essam.khaled](/maintainers/essam.khaled)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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