PHPackages                             codedge/laravel-sofortlib - 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. [Payment Processing](/categories/payments)
4. /
5. codedge/laravel-sofortlib

AbandonedArchivedLibrary[Payment Processing](/categories/payments)

codedge/laravel-sofortlib
=========================

Laravel package for use with SofortLib/SOFORT API, provides a facade to work with.

0.1.1(5y ago)22.6k2[5 PRs](https://github.com/codedge/laravel-sofortlib/pulls)MITPHPPHP ^7.3|^8.0

Since Apr 12Pushed 3y ago1 watchersCompare

[ Source](https://github.com/codedge/laravel-sofortlib)[ Packagist](https://packagist.org/packages/codedge/laravel-sofortlib)[ GitHub Sponsors](https://github.com/codedge)[ RSS](/packages/codedge-laravel-sofortlib/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (4)Versions (8)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/e1bce11cc190722390d7f247c2eb670b5635ccb5fb1d3f89b11d546d47e333e4/68747470733a2f2f706f7365722e707567782e6f72672f636f64656467652f6c61726176656c2d736f666f72746c69622f762f737461626c65)](https://packagist.org/packages/codedge/laravel-sofortlib)[![Total Downloads](https://camo.githubusercontent.com/fb22c8f2611856237984d81f4f8876e31dcf517ec0321499e8215b38919fbe86/68747470733a2f2f706f7365722e707567782e6f72672f636f64656467652f6c61726176656c2d736f666f72746c69622f646f776e6c6f616473)](https://packagist.org/packages/codedge/laravel-sofortlib)[![License](https://camo.githubusercontent.com/ed404f9076887a649b50ea23ed878158d04e04611327d7127a87de200b50849d/68747470733a2f2f706f7365722e707567782e6f72672f636f64656467652f6c61726176656c2d736f666f72746c69622f6c6963656e7365)](https://packagist.org/packages/codedge/laravel-sofortlib)

Laravel integration for Sofortlib
=================================

[](#laravel-integration-for-sofortlib)

This repository implements a simple [ServiceProvider](https://laravel.com/docs/master/providers)that creates a singleton instance of the Sofortlib client easily accessible via a [Facade](https://laravel.com/docs/master/facades).

See [SofortLib](https://github.com/sofort/sofortlib-php) for more information about the usage.

Installation
------------

[](#installation)

```
$ composer require codedge/laravel-sofortlib
```

The package registers itself.

Next run
`php artisan vendor:publish --provider="Codedge\Sofortlib\SofortlibServiceProvider" --tag=config`
to publish the configuration file for the SOFORT API to `config/sofortlib.php`.

**Note**: Open this file and enter your correct API credentials and other settings.

Usage
-----

[](#usage)

To use the static interfaces (facades) you need to add the following lines to your `config/app.php`.

### Sofortüberweisung

[](#sofortüberweisung)

```
// app/Http/routes.php

Route::get('/', function () {

    Sofortueberweisung::setAmount(5);
    Sofortueberweisung::setCurrencyCode('EUR');
    Sofortueberweisung::sendRequest();

    if(Sofortueberweisung::isError()) {
        // do something...
    }

});
```

### Billcode

[](#billcode)

```
// app/Http/routes.php

Route::get('/', function () {

    Billcode::setAmount(47.11);
    Billcode::setCurrencyCode('USD');
    Billcode::createBillcode();

    if(Billcode::isError()) {
        // do something...
    }

});
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 55.5% 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 ~268 days

Total

2

Last Release

2001d ago

PHP version history (2 changes)v0.1.0PHP &gt;=7.3

0.1.1PHP ^7.3|^8.0

### Community

Maintainers

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

---

Top Contributors

[![codedge](https://avatars.githubusercontent.com/u/4409904?v=4)](https://github.com/codedge "codedge (61 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (49 commits)")

---

Tags

laravellaravel-packagelaravel-sofortlibsofort-apisofortueberweisunglaravelsofortueberweisungsofortuberweisungsofortlibpaycodesofort api

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/codedge-laravel-sofortlib/health.svg)

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

###  Alternatives

[sebdesign/laravel-viva-payments

A Laravel package for integrating the Viva Payments gateway

4849.3k](/packages/sebdesign-laravel-viva-payments)

PHPackages © 2026

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