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(7y ago)632.1M—6.5%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 1mo 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

46

—

FairBetter than 93% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity54

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

2912d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/df8935c703bdf11fea8eb7ec046a7e5fe9b97c675691e8c082d1ca04b2b04ad0?d=identicon)[Klarna](/maintainers/Klarna)

![](https://www.gravatar.com/avatar/35740e5ec5f11218fa293a3151e6efd27ecd27e2f2f0b9410d291fa820172a51?d=identicon)[0x20h](/maintainers/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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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