PHPackages                             robinn/uikit - 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. [Framework](/categories/framework)
4. /
5. robinn/uikit

ActiveLibrary[Framework](/categories/framework)

robinn/uikit
============

A toolkit for developing universal web interfaces with support for multiple CSS frameworks.

1.2.0(1y ago)61013MITPHPPHP &gt;=8.2CI passing

Since Dec 8Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/RobiNN1/PHP-UI-Kit)[ Packagist](https://packagist.org/packages/robinn/uikit)[ RSS](/packages/robinn-uikit/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (5)Used By (0)

PHP UI Kit
==========

[](#php-ui-kit)

A toolkit for developing universal web interfaces with support for multiple CSS frameworks.

[![Visitor Badge](https://camo.githubusercontent.com/f30294599a277e39fcd27c28afe13cac37d42e4fb682fb99ee30419cf1a4e3d5/68747470733a2f2f76697369746f722d62616467652e6c616f62692e6963752f62616467653f706167655f69643d526f62694e4e312e5048502d55492d4b6974)](https://camo.githubusercontent.com/f30294599a277e39fcd27c28afe13cac37d42e4fb682fb99ee30419cf1a4e3d5/68747470733a2f2f76697369746f722d62616467652e6c616f62692e6963752f62616467653f706167655f69643d526f62694e4e312e5048502d55492d4b6974)

Installation
------------

[](#installation)

```
composer require robinn/uikit

```

Basic Usage
-----------

[](#basic-usage)

Print everything with echo.

```
ob_start();

echo 'HTML code';
echo alert('Default');

echo layout(ob_get_clean(), [
    'title' => 'Site title',
]);
```

It is also possible to call components in a template:

```
$html = get_ui()
    ->addPath(__DIR__.'/templates') // Path to dir with custom templates
    ->render('page'); // page.twig in templates/ dir

echo layout($html, [
    'title' => 'Site title',
]);
```

`page.twig`

```
HTML code
{{ alert('Default') }}
```

There are multiple syntaxes available. It's up to you which one you choose.

> Note: no need to use `layout()`, you can use your own logic as well.

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

[](#requirements)

- PHP &gt;= 8.2

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance52

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~239 days

Total

4

Last Release

536d ago

PHP version history (2 changes)1.0.0PHP &gt;=8.1

1.1.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/2742c8966fe1d84d510cf580119bd593ade8188605e218be398014846132be31?d=identicon)[RobiNN1](/maintainers/RobiNN1)

---

Top Contributors

[![RobiNN1](https://avatars.githubusercontent.com/u/11664877?v=4)](https://github.com/RobiNN1 "RobiNN1 (436 commits)")

---

Tags

bootstrapcssfomantic-uiframeworkkitphpphp-ui-kitsemantic-uitemplatingtwiguiuikitframeworktwigcsstemplatingbootstrapfomantic-ui

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/robinn-uikit/health.svg)

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

###  Alternatives

[fomantic/ui

Fomantic empowers designers and developers by creating a shared vocabulary for UI.

3.7k24.0k1](/packages/fomantic-ui)[slim/twig-view

Slim Framework 4 view helper built on top of the Twig 3 templating component

3708.0M210](/packages/slim-twig-view)[orange-opensource/orange-boosted-bootstrap

Orange Boosted with Bootstrap is a Bootstrap based, Orange branded accessible and ergonomic components library.

2148.7k](/packages/orange-opensource-orange-boosted-bootstrap)[krzysiekpiasecki/gentelella

A Symfony skeleton application with user account functionality based on the Twitter Bootstrap and Gentelella template

991.8k](/packages/krzysiekpiasecki-gentelella)[abydahana/aksara

Aksara is a CodeIgniter based CRUD Toolkit you can use to build complex applications become shorter, secure and more reliable just in a few lines of code. Serving both CMS or Framework, produce both HEADLESS (RESTful API) or TRADITIONAL (Browser Based), just by writing single controller. Yet it's reusable, scalable and ready to use!

1101.2k](/packages/abydahana-aksara)

PHPackages © 2026

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