digitick/sepa-xml
Composer 安装命令:
composer require digitick/sepa-xml
包简介
Creates Single Euro Payments Area (SEPA) XML files for the Direct Debit and Credit Transfer operations.
README 文档
README
SEPA / ISO20022 file generator for PHP.
Creates XML files for the Single Euro Payments Area (SEPA) Credit Transfer and Direct Debit Payments Initiation messages. These SEPA XML messages are a subset of the "ISO20022 Universal financial industry message scheme".
License: GNU Lesser General Public License v3.0
The versions of the ISO20022 standard supported are:
- For Credit Transfers:
- pain.001.001.03
- pain.001.001.04
- pain.001.001.05
- pain.001.001.06
- pain.001.001.07
- pain.001.001.08
- pain.001.001.09 (The minimum version recommended)
- pain.001.001.11
- pain.001.001.12
- Credit Transfer Variants:
- pain.001.002.03 (STPCreditTransferInitiationV03)
- pain.001.003.03 (EUSTPCreditTransferInitiationV03)
- For Direct Debits:
- pain.008.001.02
- pain.008.001.03
- pain.008.001.04
- pain.008.001.05
- pain.008.001.06
- pain.008.001.07
- pain.008.001.08 (The minimum version recommended)
- pain.008.001.10
- pain.008.001.11
- Direct Debit Variants:
- pain.008.002.02
- pain.008.003.02
We do not claim 100% support of those formats but the files produced by this library are validated against the official XSDs and they pass the validation. I you're missing a field or two please submit a PR. The library accepts a custom ISO20022 format so in theory you can use any of the versions in between the ones on the officially supported list.
Institutions that should accept these formats:
- Any bank that is part of the SEPA network and works with the ISO20022 standard
Institutions that are confirmed to accept these formats:
- Deutsche Kreditwirtschaft
- Fédération bancaire française
- ING (tested on direct credit, use pain.001.001.03)
- Commerzbank (tested on Credit Transfer, use pain.001.001.03)
- Spain: CaixaBank
- Spain: SantanderBank
- Netherlands: direct-debit (pain.008.001.02) at RABO-bank (thanks @rodekker)
- Austria: Raiffeisenbank direct-debit (pain.008.001.08) 2025-10-29
- Austria: Volksbank direct-debit (pain.008.001.08) 2025-10-29
Always verify generated files with your bank before using in production! If you encounter an institution that does accept this library's generated files please notify us to add it to the list or send a PR!
Installation
Composer
This library is available in packagist.org as digitick/sepa-xml, you can add it to your project via Composer:
composer require digitick/sepa-xml
Please note that the library still carries it's original name (namely digitick/sepa-xml) as we don't want to confuse people.
The latest versions are developed by the php-sepa-xml community and the packagist alias (digitick/sepa-xml) points here.
In the near future we may switch to php-sepa-xml/php-sepa-xml as that is already the official package name.
Documentation
Check out our docs at:
ISO20022 Message Names
ISO20022 messages follow a specific naming convention which can be denoted to the following pattern:
MessageType.MessageSubType.MessageVariant.MessageVersion
For e.g. pain.001.001.12 should be decoded as:
- MessageType: 'PAIN' - Payments Initiation
- MessageSubType: '001' - CustomerCreditTransferInitiation
- MessageVariant: '001'
- MessageVersion: '12'
Development
Want to contribute? Please check out our Dev docs
Any Questions?
Feel free to open an issue. We will try to reply to the best of our knowledge.
External Resources
digitick/sepa-xml 适用场景与选型建议
digitick/sepa-xml 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6.41M 次下载、GitHub Stars 达 279, 最近一次更新时间为 2013 年 07 月 12 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「xml」 「sepa」 「Banking」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 digitick/sepa-xml 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 digitick/sepa-xml 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 digitick/sepa-xml 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Creates an XML file for a Single Euro Payments Area (SEPA) Credit Transfer.
Simple classes for creating SEPA transfer and direct debit xml files. No dependencies
This package parses and validates International Bank Account Number (IBAN).
Creates an XML file for a Single Euro Payments Area (SEPA) Credit Transfer.
Multishipping support for the Mollie Payment Module for Magento 2
Load DOM document safety
统计信息
- 总下载量: 6.41M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 283
- 点击次数: 33
- 依赖项目数: 11
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2013-07-12