Skip to content

karatemuffin/pdfAddText

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pdfAddText

batch add text to a pdf template

Installation

Debian

    sudo apt update
    sudo apt install wget php-cgi php-cli php-zip unzip poppler-utils php-mbstring php-gd

HTML/PHP dependencies

  • Composer

  • mPDF

  • W3.CSS

  • datagridXL

  • Papa Parse

    wget -O composer-setup.php https://getcomposer.org/installer
    mkdir -p css
    wget -O css/w3.css https://www.w3schools.com/w3css/4/w3.css
    mkdir -p js
    wget -O js/datagridxl2.js https://code.datagridxl.com/datagridxl2.js
    wget -O js/papaparse.min.js https://raw.githubusercontent.com/mholt/PapaParse/master/papaparse.min.js
    php ./composer-setup.php --install-dir=.
    php ./composer.phar require mpdf/mpdf
    

Usage

Load the index.html.

Configuration

There is a config.php with some options, additionally there is the data/template.pdf that contains the pdf taken as template to be written on.

About

batch add text to a pdf template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published