FZPure suite
FZPureHTML
HTML to PDF in pure PHP.
Write your document in HTML with the bundled stylesheet, call one function, get the PDF. Two files to copy to your server.
Projects · FZPure suite
Read and edit Markdown files from the browser. A single PHP file you copy into a folder: it shows every .md file inside it, ready to read, edit, move and print. Password protected.
Code on GitHub Download the latest release
Notes, procedures and documentation written in Markdown are handy while you sit at your own computer. Reading them from a phone, or letting a colleague look at them, usually means a CMS, a wiki or a cloud service: too much for a folder of text files.
FZPureMD turns the folder itself into a small private website. The files stay ordinary .md files: no database, no import, and you can keep editing them with your own editor. The browser shows the file tree, the formatted document and a visual editor; printing always gives a clean document, PDF included.
// 1. Copy FZPureMD.php into the folder with your .md files
// 2. Change the two passwords at the top of the file:
define('MD_PASS_ADMIN', 'a-long-password'); // full access
define('MD_PASS_READ', 'another-password'); // read-only
// 3. Open https://your-site/folder/FZPureMD.php
Requirements: A web server with PHP 5.3 or later, no extensions. The folder must be writable to save. Use it over HTTPS.
Installation, configuration and the full reference are in the README on GitHub.
FZPureMD is free and open source. If you find it useful, you can buy me a coffee: it is a simple way to support its development.
FZPure suite
HTML to PDF in pure PHP.
Write your document in HTML with the bundled stylesheet, call one function, get the PDF. Two files to copy to your server.
FZPure suite
DOCX and PDF documents from Word templates.
A small PHP server that fills Word templates, replacing placeholders with text, HTML, tables and checkboxes, and returns DOCX or PDF.
New releases, development notes and what I learn along the way.