套件名稱 : VIrtualorz/PdfSignature
開發年份 : 2019
gitHub連結 : https://github.com/virtualorz/pdfSignature
內容簡介 :
PdfSignature是透過FPDI套件來簽名檔加入PDF檔案的laravel套件,只需要插入圖檔路徑以及座標位置就可以完成
安裝方式 :
| 
					 1  | 
						composer require virtualorz/pdfSignature  | 
					
編輯 config/app.php
| 
					 1 2 3 4 5 6 7 8 9  | 
						'providers' => [         ...         Virtualorz\PdfSignature\PdfSignatureServiceProvider::class     ]     'aliases' => [         ...         'PdfSignature' => Virtualorz\PdfSignature\Facades\PdfSignature::class,     ]  | 
					
方法簡介 :
sign($pdf_path, $signature_path, $signature_location, $download_file_name)
$pdf_path : 要簽名的pdf檔實際路徑,
$signature_path : 簽名檔實際路徑
$signature_location : 簽名位置陣列,範例
| 
					 1 2 3 4 5 6 7  | 
						[    [       'page' => 1,       'x' => 15,       'Y' => 210    ], ]  | 
					
可以透過陣列指定要那一頁的x,y座標插入簽名檔