PHPackages                             drei-d/laravel-sepa-xml - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. drei-d/laravel-sepa-xml

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

drei-d/laravel-sepa-xml
=======================

Creates SEPA XML files

1.3.1(1mo ago)0576PHPPHP ^8.2

Since Dec 19Pushed 1mo agoCompare

[ Source](https://github.com/DREI-D/laravel-sepa-xml)[ Packagist](https://packagist.org/packages/drei-d/laravel-sepa-xml)[ RSS](/packages/drei-d-laravel-sepa-xml/feed)WikiDiscussions main Synced today

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

Laravel Sepa XML
================

[](#laravel-sepa-xml)

This project was made to create SEPA xml files in Laravel.

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

[](#requirements)

- Laravel 10 or higher
- PHP 8.2 or higher
- ext-dom &amp; ext-iconv enabled

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

[](#installation)

This project is available via composer.
To install it, run:

```
composer install drei-d/laravel-sepa-xml
```

Configuration
-------------

[](#configuration)

This project comes with a predefined config.
In order to use this package, you need to customize it to your needs.

Publish the configuration by running:

```
php artisan vendor:publish --provider=DREID\\LaravelSepaXml\\Providers\\ServiceProvider
```

The configuration file should look like the following:

```
return [
    'from'   => 'FROM EXAMPLE',
    'iban'   => 'IBAN EXAMPLE',
    'bic'    => 'BIC EXAMPLE',
    'prefix' => 'PREFIX-EXAMPLE-',

    // group transactions as a single transfer
    'batch_booking' => false
];
```

- Replace `FROM EXAMPLE` with your companies name. You should use caps lock and no special characters.
- Replace `IBAN EXAMPLE` with the IBAN of the bank account you want to send money from. Do not include spaces.
- Replace `BIC EXAMPLE` with the BIC of the bank account you want to send money from. Do not include spaces.
- Replace `PREFIX` with a unique identifier for your project. This prefix is used to generate unique End-to-End-IDs for your transactions.
- If you want to group your transactions as a single transfer, you can set `batch_booking` to true. If you are not familiar with batch booking, feel free to check out [this post](https://www.sepaforcorporates.com/sepa-payments/why-sepa-batch-booking-is-important/).

An example for our company would be:

```
return [
    'from'   => 'DREID-D DIREKTWERBUNG GMBH CO KG',
    'iban'   => 'DE02120300000000202051',
    'bic'    => 'BYLADEM1001',
    'prefix' => '3D-INTERN-',

    // group transactions as a single transfer
    'batch_booking' => false
];
```

Usage
-----

[](#usage)

This project uses dependency injection. To get access to its services, you should inject them using the app() function, or, if possible, as function parameter.

Example:

```
use DREID\LaravelSepaXml\Factories\TransactionFactory;
use DREID\LaravelSepaXml\Services\SepaFileCreationService;

$factory = app(TransactionFactory::class);
$service = app(SepaFileCreationService::class);

$transaction = $factory->transform(
    'Max Mustermann', // account owner
    'Test-Subject for Transaction', // subject
    'DE02120300000000202051', // IBAN
    'BYLADEM1001', // BIC
    49.95 // amount in EUR
);

$service->save(
    'local', // storage disk
    'sepa.xml', // file name
    '1', // transaction number, should be unique per export
    [
        $transaction
    ] // array of transactions you want to export
);
```

When using the factory, your values are automatically sanitized. You can see the changes made by dumping the DTO.

```
dump($transaction);
```

The result should look like this:

```
[
    'accountOwner' => 'MAX MUSTERMANN',
    'subject'      => 'TEST-SUBJECT FOR TRANSACTION',
    'iban'         => 'DE02120300000000202051',
    'bic'          => 'BYLADEM1001',
    'amount'       => 49.95
]
```

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance93

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~148 days

Recently: every ~217 days

Total

7

Last Release

37d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c5073fbcd72e6a2f977940e7103f3dbdfd1a80fc0f47a3a92da67e647b923877?d=identicon)[drei-d](/maintainers/drei-d)

---

Top Contributors

[![vollborn](https://avatars.githubusercontent.com/u/67763683?v=4)](https://github.com/vollborn "vollborn (11 commits)")

### Embed Badge

![Health badge](/badges/drei-d-laravel-sepa-xml/health.svg)

```
[![Health](https://phpackages.com/badges/drei-d-laravel-sepa-xml/health.svg)](https://phpackages.com/packages/drei-d-laravel-sepa-xml)
```

###  Alternatives

[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[crumbls/layup

A visual page builder plugin for Filament 5 — Divi-style grid layouts with extensible widgets.

592.7k1](/packages/crumbls-layup)[team-nifty-gmbh/tall-datatables

Server-side rendered datatables for Laravel and Livewire

1320.9k4](/packages/team-nifty-gmbh-tall-datatables)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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