PHPackages                             johannmalmcom/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. johannmalmcom/ui

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

johannmalmcom/ui
================

A tag library for creating an UI faster

v1.0.1(6y ago)0141MITPHP

Since Mar 16Pushed 6y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (3)Used By (1)

ui
==

[](#ui)

```
require_once("./vendor/autoload.php");

use UI\Tag;

// Titles
echo Tag::title("Title 1", 1);
echo Tag::title("Title 2", 2);
echo Tag::title("Title 3", 3);
echo Tag::title("Title 4", 4);
echo Tag::title("Title 5", 5);
echo Tag::title("Title 6", 6);

// Paragraph
echo Tag::paragraph("Paragraph");

// Link
echo Tag::anchor("Anchor", "#");

// Image
echo Tag::image("Image", "/image.jpg");

// Divider
echo Tag::divider(
    Tag::title("Title 1", 1).
    Tag::paragraph("Paragraph").
    Tag::anchor("Anchor", "#")
);

// Form
echo Tag::form(
    Tag::inputText("textfield", "Text Field", $_POST["textField"] ?? "").
    Tag::inputPassword("passwordfield", "Password Field", $_POST["passwordfield"] ?? "").
    Tag::inputFile("filefield", "File Field", $_POST["filefield"] ?? "").
    Tag::inputTextarea("textareafield", "Textarea Field", $_POST["textareafield"] ?? "").
    Tag::buttonSubmit("Submit")
, "/action");

// Button
echo Tag::button("Button", "#");

// Various
echo Tag::general("video", [
    "src" => "video.mov"
]);
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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 ~0 days

Total

2

Last Release

2299d ago

### Community

Maintainers

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

### Embed Badge

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

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

###  Alternatives

[consolidation/filter-via-dot-access-data

This project uses dflydev/dot-access-data to provide simple output filtering for applications built with annotated-command / Robo.

4650.2M23](/packages/consolidation-filter-via-dot-access-data)[async-aws/async-aws-bundle

Configure all your AsyncAws services and enjoy the autowire greatness.

253.8M4](/packages/async-aws-async-aws-bundle)[wp-sync-db/wp-sync-db-cli

WP Sync DB CLI Addon

9453.0k](/packages/wp-sync-db-wp-sync-db-cli)[barnetik/ticketbai

Generate, sign and submit TicketBAI compatible invoices

417.1k](/packages/barnetik-ticketbai)[sj-i/php-fuse

PHP FFI bindings for FUSE

641.7k2](/packages/sj-i-php-fuse)

PHPackages © 2026

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