hierotex / hierotex-php
A PHP wrapper for HieroTeX
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/hierotex/hierotex-php
Requires (Dev)
- phpunit/phpunit: ^7
This package is not auto-updated.
Last update: 2025-10-12 11:10:45 UTC
README
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.
Requirements
- PHP 7.1 or newer
- HieroTeX is installed locally
- png2svg is installed