wesnick/fdf-utility
最新稳定版本:v1.0.3
Composer 安装命令:
composer require wesnick/fdf-utility
包简介
FDF File Utility for PDF Forms
README 文档
README
This library produces FDF files for PDF Forms.
Left to finish
- Add additional validation and tests for invalid configurations.
- Implement signature field support.
Console Usage
- Generate CSV Export from PDF
bin/fdf wesnick:fdf:csv-export /path/to/my/pdf.pdf path/to/my/csv/csv --pdftk=/path/to/pdftk
- Generate Example Filled PDF
bin/fdf wesnick:fdf:example-pdf /path/to/my/emtpy-pdf.pdf path/to/my/filled-pdf.pdf --pdftk=/path/to/pdftk
You can also use the library's components directly. The class PdfForm is a useful reference point.
Installation
Use composer.
composer require wesnick/fdf-utility
Requirements
- PHP 8.1 or higher
- Symfony Process (^6.4 or 7.2.*)
Tip
For PHP versions between 7.1 and 8.0 use the release v0.6.0
Tip
For PHP versions lower than 7.1 use the release v0.5.0
Tip
For Symfony versions between >=3.3 and <4.4 use the release v0.5.0
Tip
For Symfony versions between >=2.3 and <3.3 use the release v0.4.3
Acknowledgements
Much of the code for creating FDF files is based on Sid Steward's PDF work -- http://www.pdflabs.com The test pdf form is borrowed from active_pdftk, as well as some ideas about how to handle pdftk field dumps.
Contributing
Fork and issue a Pull Request.
Running the Tests
./vendor/bin/phpunit
License
Released under the MIT License. See the bundled LICENSE file for details.
统计信息
- 总下载量: 30.11k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-01-05