tomato-technologies / tomato-pdfmerger
Laravel项目的PDF合并包装器
v1.0.0
2019-01-04 05:28 UTC
Requires
- illuminate/contracts: 5.2.x|5.3.x|5.4.x|5.5.x|5.6.x|5.7.x
- illuminate/queue: 5.2.x|5.3.x|5.4.x|5.5.x|5.6.x|5.7.x
- illuminate/support: 5.2.x|5.3.x|5.4.x|5.5.x|5.6.x|5.7.x
- symfony/process: ~3.4||~4.1
This package is not auto-updated.
Last update: 2024-09-22 08:53:01 UTC
README
这是一个https://github.com/metaist/pdfmerge的命令行包装器
安装
composer require tomato-technologies/tomato-pdfmerger
Laravel 5.5使用包自动发现,因此不需要您手动添加ServiceProvider。
Laravel 5.5+
如果您不使用自动发现,请将ServiceProvider添加到config/app.php中的providers数组中
Tomato\PDFMerger\ServiceProvider::class,
如果您想更容易地访问Pusher或Event类,请在app.php中的facades中添加以下内容
'TomatoPDFMerger' => Tomato\PDFMerger\Facade::class,
用法
在开始使用之前,请记住在.env文件中设置您的PDFMERGE_BIN
。商户编号应包含"M"的数字,例如:"000034"。
如果您想获取更多关于此包装器的配置,可以通过运行以下Artisan命令将配置文件拉入您的应用程序: