PHPackages                             abcaeffchen/sephpa - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. abcaeffchen/sephpa

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

abcaeffchen/sephpa
==================

Generates SEPA files for credit transfers (pain.001.001.03, pain.001.002.03, pain.001.003.03, pain.001.001.09) and direct debit (pain.008.001.02, pain.008.002.02, pain.008.003.02, pain.008.001.08)

3.0.3(9mo ago)711.7M↓23.4%34[1 issues](https://github.com/AbcAeffchen/Sephpa/issues)LGPL-3.0-onlyPHPPHP &gt;=8.1CI passing

Since Oct 18Pushed 9mo ago10 watchersCompare

[ Source](https://github.com/AbcAeffchen/Sephpa)[ Packagist](https://packagist.org/packages/abcaeffchen/sephpa)[ Docs](https://github.com/AbcAeffchen/Sephpa)[ GitHub Sponsors](https://github.com/AbcAeffchen)[ RSS](/packages/abcaeffchen-sephpa/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (18)Used By (0)

[![Sephpa Logo](https://user-images.githubusercontent.com/20192194/81567624-d838be00-939c-11ea-91e2-ee5178840da6.png)](https://user-images.githubusercontent.com/20192194/81567624-d838be00-939c-11ea-91e2-ee5178840da6.png)

Sephpa - A PHP class to export SEPA files
=========================================

[](#sephpa---a-php-class-to-export-sepa-files)

[![Unit Tests](https://github.com/AbcAeffchen/Sephpa/actions/workflows/php.yml/badge.svg)](https://github.com/AbcAeffchen/Sephpa/actions/workflows/php.yml)[![Latest Stable Version](https://camo.githubusercontent.com/75d3ac1cebe7ed3fa98d9329e1de612f0071c17fbcf38b25897d67e8e9f7dd01/68747470733a2f2f706f7365722e707567782e6f72672f616263616566666368656e2f7365706870612f762f737461626c652e737667)](https://packagist.org/packages/abcaeffchen/sephpa)[![Total Downloads](https://camo.githubusercontent.com/38eae9e0041fb1eeed00ed249887cf50f985793f04b42b72c4be98b2beada3a2/68747470733a2f2f706f7365722e707567782e6f72672f616263616566666368656e2f7365706870612f646f776e6c6f6164732e737667)](https://packagist.org/packages/abcaeffchen/sephpa)[![License](https://camo.githubusercontent.com/c4b2a8d645550f7d84239fe7722529ddf23628f90ec28f6f30b0193d48b85231/68747470733a2f2f706f7365722e707567782e6f72672f616263616566666368656e2f7365706870612f6c6963656e73652e737667)](https://packagist.org/packages/abcaeffchen/sephpa)

General
-------

[](#general)

**Sephpa** \[sefa\] is a PHP class that creates SEPA XML files. The created XML files fulfill the specifications of Electronic Banking Internet Communication Standard (EBICS).

Supported file versions
-----------------------

[](#supported-file-versions)

- SEPA Credit Transfer
    - pain.001.001.09
    - pain.001.001.03
    - pain.001.002.03
    - pain.001.003.03
- SEPA Direct Debit
    - pain.008.001.08
    - pain.008.001.02
    - pain.008.001.02.austrian.003
    - pain.008.002.02
    - pain.008.003.02

Requirements
------------

[](#requirements)

Sephpa was created for PHP &gt;=8.1 and requires [SepaUtilities 2.0.0+](https://github.com/AbcAeffchen/SepaUtilities) and [SimpleXML](http://php.net/manual/en/book.simplexml.php). Sephpa should also work with PHP &lt;=8.0, but since these versions are not officially supported anymore, it is strongly recommended not to use PHP older than 8.1.

If you want to download correctly sorted files, you also need the zip library and for documentation files you need [SepaDocumentor](https://github.com/AbcAeffchen/SepaDocumentor).

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

[](#installation)

### Composer

[](#composer)

Just add

```
{
    "require": {
        "abcaeffchen/sephpa": "^3.0"
    }
}
```

to your `composer.json` and include the Composer autoloader to your script.

### Direct download

[](#direct-download)

You can download Sephpa from this GitHub page. Make sure you also download [SepaUtilities](https://github.com/AbcAeffchen/SepaUtilities). You should store the files in a structure that looks like this:

```
your project root
├── your_code
│   └── ...
└── vendor
    ├── Sephpa          (the Sephpa project go here)
    ├── SepaUtilities   (the SepaUtilities files go here)
    └── ...

```

In your code you can include the Sephpa autoloader by including the file

```
vendor/Sephpa/src/autoloader.php

```

You also need to include the SepaUtilities file which should be

```
vendor/SepaUtilities/src/SepaUtilities.php

```

In total your code should look something like this:

```
require PROJECT_ROOT . '/vendor/Sephpa/src/autoloader.php';
require PROJECT_ROOT . '/vendor/abcaeffchen/sepa-utilities/src/SepaUtilities.php';

```

You need to define `PROJECT_ROOT` by yourself.

### Documentation Module

[](#documentation-module)

Sephpa uses [SepaDocumentor](https://github.com/AbcAeffchen/SepaDocumentor) to create File Routing Slips and Control Lists. If you are interested in these files, you need to add

```
{
    "require": {
        "abcaeffchen/sepa-documentor": "^3.0"
    }
}

```

to your composer file or download it from the website and make it available to Sephpa.

Disclaimer
----------

[](#disclaimer)

Sephpa is not meant to teach you SEPA. If you want to learn more about SEPA or SEPA files, you should ask your bank for help. You use this library at your own risk and I assume no liability if anything goes wrong. You are supposed to check the files **before** handing them to your bank.

Documentation
-------------

[](#documentation)

Have a look at the [wiki pages](https://github.com/AbcAeffchen/Sephpa/wiki) for the documentation and examples.

Credits
-------

[](#credits)

Thanks to [Hermann Herz](https://github.com/Heart1010) who supported me debugging and with great ideas to improve Sephpa and SepaUtilities.
Thanks to [sargac](https://github.com/sargac) for the help with the wiki pages and for creating the nice logo.

Support Sephpa
--------------

[](#support-sephpa)

If you use and like Sephpa, drop me a note on what project you use it. I'm really curious. If you like it a lot, consider [buying me a coffee](https://www.buymeacoffee.com/schickedanz) :)

License
-------

[](#license)

Licensed under the LGPL v3.0 License.

###  Health Score

59

—

FairBetter than 99% of packages

Maintenance58

Moderate activity, may be stable

Popularity56

Moderate usage in the ecosystem

Community22

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 97.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 ~282 days

Recently: every ~360 days

Total

15

Last Release

270d ago

Major Versions

1.3.0 → 2.0.0-beta12018-04-22

2.1.2 → 3.0.02025-01-20

PHP version history (4 changes)1.2.0PHP &gt;=5.3.0

2.0.0-beta1PHP &gt;=5.6.0

2.0.0PHP &gt;=7.1

3.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/89ca3833853fb413d7aec22e8933b3fe5d9d65398345e3104912c99147e35dd8?d=identicon)[AbcAeffchen](/maintainers/AbcAeffchen)

---

Top Contributors

[![AbcAeffchen](https://avatars.githubusercontent.com/u/5396140?v=4)](https://github.com/AbcAeffchen "AbcAeffchen (194 commits)")[![degitpatrick](https://avatars.githubusercontent.com/u/3830544?v=4)](https://github.com/degitpatrick "degitpatrick (1 commits)")[![DerPapst](https://avatars.githubusercontent.com/u/2511615?v=4)](https://github.com/DerPapst "DerPapst (1 commits)")[![joni1993](https://avatars.githubusercontent.com/u/29347?v=4)](https://github.com/joni1993 "joni1993 (1 commits)")[![markcoenradie](https://avatars.githubusercontent.com/u/2177198?v=4)](https://github.com/markcoenradie "markcoenradie (1 commits)")[![philku79](https://avatars.githubusercontent.com/u/213049?v=4)](https://github.com/philku79 "philku79 (1 commits)")

---

Tags

credit-transferdirect-debitsphpsepasepa-filesxmlxmlfilessepadirect debitfinanceBankingphp8credit transfer

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/abcaeffchen-sephpa/health.svg)

```
[![Health](https://phpackages.com/badges/abcaeffchen-sephpa/health.svg)](https://phpackages.com/packages/abcaeffchen-sephpa)
```

###  Alternatives

[digitick/sepa-xml

Creates Single Euro Payments Area (SEPA) XML files for the Direct Debit and Credit Transfer operations.

2836.0M12](/packages/digitick-sepa-xml)[dmitrirussu/php-sepa-xml-generator

Creates an XML file for a Single Euro Payments Area (SEPA) Direct Debit Payment.

5644.0k](/packages/dmitrirussu-php-sepa-xml-generator)[perryfaro/sepa

Creates an XML file for a Single Euro Payments Area (SEPA) Credit Transfer.

1148.7k](/packages/perryfaro-sepa)

PHPackages © 2026

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