Repository navigation
Releases
FZPureDOCX 1.0.0
First public release of FZPureDOCX: DOCX and PDF documents from Word templates.
A small PHP server: your application sends a Word template and the data with an HTTP POST request, and gets back a JSON response with the filled document as DOCX and/or PDF.
Features
- Placeholders for text, HTML, headers, repeating table rows and checkboxes
- PDF through LibreOffice when it is installed, otherwise through the bundled pure-PHP converter
- No external libraries and no licences to buy
- No database; no files are left on the server after a request
verifica.phpchecks the installation line by line- Runs on ordinary shared hosting
Requirements
PHP 8.1+ with zip, dom, zlib, mbstring. Apache with .htaccess. LibreOffice optional. TrueType fonts are not bundled: the README explains which ones to download and where to put them.
Installation
Download the source code below, add the fonts and your API keys, upload the folder (hidden files included) and open verifica.php. Full steps in the README.
API field names, configuration keys and messages are in Italian; the README explains each one.
🇮🇹 Prima versione pubblica. Compila modelli Word e restituisce DOCX o PDF, senza librerie esterne. Installazione e configurazione in README.it.md.