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 10mo 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 1w 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

36

—

LowBetter than 79% of packages

Maintenance45

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

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

628d ago

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

1.1.0PHP &gt;=8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11664877?v=4)[Róbert Kelčák](/maintainers/RobiNN1)[@RobiNN1](https://github.com/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

[symfony/symfony

The Symfony PHP framework

31.4k87.4M2.2k](/packages/symfony-symfony)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[contao-community-alliance/dc-general

Universal data container for Contao

1581.4k93](/packages/contao-community-alliance-dc-general)[abydahana/aksara

Aksara is a modern, developer-friendly framework and CMS built on CodeIgniter 4, featuring rapid CRUD development, modular architecture, smart routing, flexible access control, API integration, and an AI assistant to make content management faster and smarter.

1141.2k](/packages/abydahana-aksara)[sproutcms/cms

Enterprise content management and framework

243.0k4](/packages/sproutcms-cms)

PHPackages © 2026

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