This is a free software library to render Ancient Egyptian inscriptions from PHP, using Serge Rosmorduc's HieroTeX.
It allows you to programatically create high-quality SVG images of inscriptions from your web app, through a simple API.
use \Hierotex\Hieroglyph\Inscription;
header("Content-Type: image/svg+xml");
$inscription = new Inscription("i-mn:n-Htp:t*p");
echo $inscription -> toSvg();
Which creates this output:
The encoding of the inscription is MdC.
- PHP 7.1 or newer
- HieroTeX is installed locally
- png2svg is installed