PHPackages                             xudid/ui - 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. xudid/ui

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

xudid/ui
========

a package to generate html5 objects

0.128.7(3y ago)1115[1 PRs](https://github.com/xudid/Ui/pulls)2MITHTMLCI passing

Since Jun 19Pushed 3w ago1 watchersCompare

[ Source](https://github.com/xudid/Ui)[ Packagist](https://packagist.org/packages/xudid/ui)[ RSS](/packages/xudid-ui/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (4)Versions (18)Used By (2)

Welcome to Xudid/Ui
===================

[](#welcome-to-xudidui)

With Xudid/Ui we can generate HTML5 from php. Each HTML5 Tag is seen as an Object .

***Example***

```
$page = X::Page()
    ->importCss('vendor/xudid/Ui/css/ui.css')
    ->importScript(
        "alert('Hello Js');",
        new Script('alert("Alert from script object")', false),
        new Script('vendor/xudid/Ui/js/modal.js'),
    )
    ->feedBody(
        X::Div(
            X::P('Hello Ui'),
            X::Form(
                x::Date()
                    ->label("Birth Date")
                    ->name('birth_date'),
                X::TextField()
                    ->label('Name')
                    ->name('name'),
                X::TextField()->label('Email')
                    ->name('email'),
                X::Submit('Submit')
                    ->addClass('btn'),
            )
        )->addClass('content')
    );

echo $page->__toString();

```

View more on

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance62

Regular maintenance activity

Popularity11

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

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

Every ~99 days

Recently: every ~202 days

Total

15

Last Release

1125d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8f769aa36c5d6873e61ffe6edd7653d4a1e0b925d6dc1ed584941da271d7c563?d=identicon)[xudid](/maintainers/xudid)

---

Top Contributors

[![xudid](https://avatars.githubusercontent.com/u/5628783?v=4)](https://github.com/xudid "xudid (176 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/xudid-ui/health.svg)

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

###  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)[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)[greg0ire/enum

work around the missing enum type in php

45390.5k9](/packages/greg0ire-enum)

PHPackages © 2026

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