PHPackages                             ubermanu/xhp-lib - 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. [Templating &amp; Views](/categories/templating)
4. /
5. ubermanu/xhp-lib

ActiveLibrary[Templating &amp; Views](/categories/templating)

ubermanu/xhp-lib
================

XHP XHTML PHP library for xhp

1.0.0(3y ago)02BSD-3-ClausePHPPHP &gt;=7.0

Since Nov 16Pushed 3y agoCompare

[ Source](https://github.com/ubermanu/xhp-lib)[ Packagist](https://packagist.org/packages/ubermanu/xhp-lib)[ Docs](https://github.com/phplang/xhp-lib)[ RSS](/packages/ubermanu-xhp-lib/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (2)Used By (0)

XHP-LIB
=======

[](#xhp-lib)

Implementation of the XHP syntax for PHP.
Provides support for many of the core HTML elements.

Forked from [phplang/xhp-lib](https://github.com/phplang/xhp-lib).

### Requirements

[](#requirements)

- PHP ~ 7.0
- [ext-xhp](https://github.com/phplang/xhp)

### Installation

[](#installation)

```
composer require ubermanu/xhp-lib
```

### Usage

[](#usage)

```
echo Hello World;
```

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1325d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bee3b2a3771b96f38ee3e2cb0f6720bd6c38ebc232bebadff61a8b4891d45f32?d=identicon)[ubermanu](/maintainers/ubermanu)

---

Top Contributors

[![ubermanu](https://avatars.githubusercontent.com/u/1533514?v=4)](https://github.com/ubermanu "ubermanu (9 commits)")[![sgolemon](https://avatars.githubusercontent.com/u/812538?v=4)](https://github.com/sgolemon "sgolemon (6 commits)")

---

Tags

xhphacklang

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ubermanu-xhp-lib/health.svg)

```
[![Health](https://phpackages.com/badges/ubermanu-xhp-lib/health.svg)](https://phpackages.com/packages/ubermanu-xhp-lib)
```

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3851.2M](/packages/limenius-react-bundle)[area17/laravel-auto-head-tags

Laravel Auto Head Tags helps you build the list of head elements for your app

4616.1k](/packages/area17-laravel-auto-head-tags)[jelix/wikirenderer

WikiRenderer is a library to generate HTML or anything else from wiki content.

1712.3k1](/packages/jelix-wikirenderer)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

282.2k](/packages/webkinder-sproutset)

PHPackages © 2026

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