swiss-payment-slip/swiss-payment-slip-pdf
Composer 安装命令:
composer require swiss-payment-slip/swiss-payment-slip-pdf
包简介
An abstract base class for creating Swiss payment slips with reference number (ESR) or without (ES) using a pdf engine
README 文档
README
Do you need to create Swiss payment slips (called ES or ESR) as PDF files in a project of yours? Then you found almost the right place, go to SwissPaymentSlipFpdf or SwissPaymentSlipTcpdf.
If you want to create Swiss payment slips as PDF files in your PHP code base but want to use neither FPDF nor TCPDF, then you can use this project.
How to use
[TODO] If you need help, ask for help.
How to extend for custom needs
[TODO] If you need help, ask for help.
Installation
Requirements
- PHP 5.4.x+
- SwissPaymentSlip (automatically installed by Composer)
Composer
Just install composer on your system, if not already there. Then create a composer.json file in your project's root folder and copy the following into it:
{
"require": {
"swiss-payment-slip/swiss-payment-slip-pdf": "*"
}
}
After that you can install the package using
$ php composer.phar install
in your project's root folder.
Background Story
In february 2013 I was looking for a solution to create swiss payment slips for a project I had to do at my work place. After a short Google search I came across Manuel Reinhard's blog post about the class he made for that. On his Github project's page I found Peter Siska's pull request. His pull request introduced PSR-0 compatibility and he created a composer package on Packagist. So I tried Peter's version and it suited my basic needs.
BUT since the customer I was working for used custom designed payment slips I couldn't use Manuel's/Peter's script since it wasn't flexible enough. Now I had to decide whether I want to "just" change the script to fit my needs or to rewrite it and make it as flexible as possible. I decided myself for the latter.
TODOs
- Improve code documentation
- Add examples to showcase how to use this middleware class
- Add tests
- Release the stable release of the API
Submitting bugs and feature requests
Bugs and feature request are tracked on GitHub.
Author
This project was created by Marc Würth. See Background Story for more details.
License
SwissPaymentSlipPdf is licensed under the MIT License - see the LICENSE file for details.
swiss-payment-slip/swiss-payment-slip-pdf 适用场景与选型建议
swiss-payment-slip/swiss-payment-slip-pdf 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 306.51k 次下载、GitHub Stars 达 12, 最近一次更新时间为 2013 年 03 月 07 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「pdf」 「Payment slip」 「Inpayment slip」 「Einzahlungsschein」 「ESR」 「es」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 swiss-payment-slip/swiss-payment-slip-pdf 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 swiss-payment-slip/swiss-payment-slip-pdf 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 swiss-payment-slip/swiss-payment-slip-pdf 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A library for creating Swiss payment slips (ESR)
Create Swiss payment slips with reference number (ESR) or without (ES) as PDFs with FPDF
Generates file routing slips and control lists from SEPA file data
A php library to process ESR/BESR v11 files (Swiss payment slips / Einzahlungsscheine mit Referenznummer)
Create Swiss payment slips with reference number (ESR) as PDFs with TCPDF
Provides TCPDF integration for Symfony
统计信息
- 总下载量: 306.51k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 12
- 点击次数: 27
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-03-07