helip/sepaqr
最新稳定版本:v1.0.0
Composer 安装命令:
composer require helip/sepaqr
包简介
Class to to generate a SEPA Quick Response (QR) code
README 文档
README
SEPAQR is a PHP library for generating SEPA (Single Euro Payments Area) QR codes for SCT (SEPA Credit Transfer) transactions. It is designed to follow the guidelines provided by the European Payments Council.
Features
- Create SEPA QR codes for SCT transactions
- Validate input data such as IBAN, BIC, and more
- Customize character set, version, purpose, and other fields
- Generate QR code images using the included SEPAQRGenerator and
chillerlan/php-qrcodelibrary
Requirements
- PHP 8.1 or higher
- chillerlan/php-qrcode ^4.3
Installation
Include this library in your project using Composer:
composer require helip/sepaqr
Usage
Here's a basic example of how to use the SEPAQR library:
use Helip\SEPA\SEPA; $sepa = new SEPA( 'WWF-Belgium', 'BE88191157467641', 5.0, // Amount '', 'Don en ligne' ); // QR code as PNG $sepa->getQR()->savePNG('path', 'qr.png');
License
SEPAQR is licensed under the LGPL-3.0-only License.
References
统计信息
- 总下载量: 459
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-only
- 更新时间: 2023-04-09
