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 1mo ago

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 10% 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

1277d 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

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[symfony/ux-icons

Renders local and remote SVG icons in your Twig templates.

545.8M69](/packages/symfony-ux-icons)

PHPackages © 2026

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