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

ActiveLibrary[Payment Processing](/categories/payments)

imetal/sephpa
=============

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

02171PHP

Since Jun 16Pushed 2y agoCompare

[ Source](https://github.com/iMetal-NL/Sephpa)[ Packagist](https://packagist.org/packages/imetal/sephpa)[ RSS](/packages/imetal-sephpa/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)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)[![Gitter](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/AbcAeffchen/Sephpa?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

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.03
    - pain.001.002.03
    - pain.001.003.03
- SEPA Direct Debit
    - 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;=7.1 including PHP 8 and requires [SepaUtilities 1.3.4+](https://github.com/AbcAeffchen/SepaUtilities) and [SimpleXML](http://php.net/manual/en/book.simplexml.php). Sephpa should also work with PHP &lt;=5.6, but since these versions are very old and don't get any security updates, it is strongly recommended not to use PHP older than 5.6.

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": {
        "imetal/sephpa": "^2.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 this files you need to add

```
{
    "require": {
        "abcaeffchen/sepa-documentor": "^1.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

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 Bus Factor1

Top contributor holds 94% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5d0602153d9c80f62a441b33dc739eab6bbfcb7dca30c1aff84ea557ff081f5d?d=identicon)[iMetal](/maintainers/iMetal)

---

Top Contributors

[![AbcAeffchen](https://avatars.githubusercontent.com/u/5396140?v=4)](https://github.com/AbcAeffchen "AbcAeffchen (172 commits)")[![faustimetal](https://avatars.githubusercontent.com/u/36792829?v=4)](https://github.com/faustimetal "faustimetal (7 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)")[![markcoenradie](https://avatars.githubusercontent.com/u/2177198?v=4)](https://github.com/markcoenradie "markcoenradie (1 commits)")[![sruchti-topay](https://avatars.githubusercontent.com/u/139873709?v=4)](https://github.com/sruchti-topay "sruchti-topay (1 commits)")

### Embed Badge

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

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

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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