Writing/Drawing over a PDF template document in PHP

前端 未结 3 1464
南方客
南方客 2020-12-07 18:53

I\'d like to be able to write/overlay text over an existing pdf document using PHP. What I am hoping to do is have a pdf document that can act as a template, and fill in the

3条回答
  •  旧巷少年郎
    2020-12-07 19:14

    When you want to use PDF lib to write over a document, positionning is time consuming and boring. Dhek is useful for such task: https://github.com/cchantep/dhek/releases .

    JSON mapping over PDF page/coordinates is defined, so that you can write with PDF API you prefer.

提交回复
热议问题