PHPackages                             hierotex/hierotex-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. hierotex/hierotex-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

hierotex/hierotex-php
=====================

A PHP wrapper for HieroTeX

15PHP

Since Dec 28Pushed 7y ago1 watchersCompare

[ Source](https://github.com/hierotex/hierotex-php)[ Packagist](https://packagist.org/packages/hierotex/hierotex-php)[ RSS](/packages/hierotex-hierotex-php/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

HieroTeX for PHP
================

[](#hierotex-for-php)

[![Build Status](https://camo.githubusercontent.com/4c70a33775fc24350e7731f6957a153a8ed8cfed3771ad4e2c7284f94d965ab5/68747470733a2f2f7472617669732d63692e6f72672f686965726f7465782f686965726f7465782d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/hierotex/hierotex-php) [![Latest Stable Version](https://camo.githubusercontent.com/1743b2748284388dde2e27ef6267e9302f9f66fd7a619c8dc002e24d8db1b6c1/68747470733a2f2f706f7365722e707567782e6f72672f686965726f7465782f686965726f7465782d7068702f762f737461626c65)](https://packagist.org/packages/hierotex/hierotex-php)[![Total Downloads](https://camo.githubusercontent.com/7b2fb42f81d50f290e05f2a03decfb2a1599b56042f9f7b06b234329ab677a1a/68747470733a2f2f706f7365722e707567782e6f72672f686965726f7465782f686965726f7465782d7068702f646f776e6c6f616473)](https://packagist.org/packages/hierotex/hierotex-php)[![License](https://camo.githubusercontent.com/aba395931fac0e0959036fffa3646436ba3f723b149ec0453ea4b383c1542595/68747470733a2f2f706f7365722e707567782e6f72672f686965726f7465782f686965726f7465782d7068702f6c6963656e7365)](https://packagist.org/packages/hierotex/hierotex-php)

This is a free software library to render Ancient Egyptian inscriptions from PHP, using Serge Rosmorduc's [HieroTeX](https://github.com/hierotex/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:

[![Image of i-mn:n-Htp:t*p](https://raw.githubusercontent.com/hierotex/hierotex-php/master/example/svg-to-stdout.svg?sanitize=true)](https://raw.githubusercontent.com/hierotex/hierotex-php/master/example/svg-to-stdout.svg?sanitize=true)

The encoding of the inscription is [MdC](https://en.wikipedia.org/wiki/Manuel_de_Codage).

Requirements
------------

[](#requirements)

- PHP 7.1 or newer
- [HieroTeX](https://github.com/hierotex/hierotex) is installed locally
- png2svg is installed

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/686b2e072fcf5754ff3133cdd8ed38a5d75941913e6a9b9916917f46f98f85b9?d=identicon)[mike42](/maintainers/mike42)

---

Top Contributors

[![mike42](https://avatars.githubusercontent.com/u/2080552?v=4)](https://github.com/mike42 "mike42 (5 commits)")

### Embed Badge

![Health badge](/badges/hierotex-hierotex-php/health.svg)

```
[![Health](https://phpackages.com/badges/hierotex-hierotex-php/health.svg)](https://phpackages.com/packages/hierotex-hierotex-php)
```

###  Alternatives

[phpstubs/phpstubs

Contains PHP Stubs which can be used by IDEs, or static analysis tools

5815.5k](/packages/phpstubs-phpstubs)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
