PHPackages                             c8robin/cakephp-rootui - 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. c8robin/cakephp-rootui

ActiveCakephp-plugin[Framework](/categories/framework)

c8robin/cakephp-rootui
======================

Plugin for using RootUI with a CakePHP application

v0.0.2-alpha(4y ago)05MITPHPPHP &gt;=7.2

Since Sep 12Pushed 3y ago1 watchersCompare

[ Source](https://github.com/C8Robin/cakephp-rootui)[ Packagist](https://packagist.org/packages/c8robin/cakephp-rootui)[ RSS](/packages/c8robin-cakephp-rootui/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

cakephp-rootui
==============

[](#cakephp-rootui)

Root UI theme for CakePHP applications

Root UI is a minimalist responsive theme, more info here:

This plugin will allow you to use that theme with your CakePHP application.

NOTE: this plugin does *NOT* contain the required Root UI files!

Need to refactor because it contains a Helper and a Cell that should not be part of the theme. To be split off into separate plugin.

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

[](#requirements)

- CakePHP
- RootUI theme: the theme will provide the necessary css, js, img and font files that this plugin relies on

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

[](#installation)

You can install this plugin into your CakePHP application using [composer](https://getcomposer.org).

The recommended way to install composer packages is:

```
composer require c8robin/cakephp-rootui

```

Using the RootUi plugin
-----------------------

[](#using-the-rootui-plugin)

Load the plugin

```
bin\cake plugin load RootUi

```

Set RootUi as your theme. Do this in your AppController::beforeRender() method

```
public function beforeRender(EventInterface $event)
{
    parent::beforeRender($event);

    $this->viewBuilder()->setTheme('RootUi');
}

```

Make sure to use the theme's templates for rendering form controls and paginator elements. Also, add your own CSS and js if needed. Put the following in your AppView::initialize() method:

```
public function initialize(): void
{
    $this->loadHelper('Paginator', ['templates' => 'RootUi.paginator-templates']);
    $this->loadHelper('Form', ['templates' => 'RootUi.ctform']);
    $this->loadHelper('RootUi.Nav');

    $this->append('css');
    echo $this->Html->css('myapp.css');
    $this->end();
}

```

You can insert navigation links in the menu on the left by creating menu items with the Nav helper, provided by the plugin.

For instance, still in AppView::initialize() :

```
    $this->start('nav');
        echo $this->Nav->navLabel('Get started');
        echo $this->Nav->navItem('Item 1', $this->Url->build(['controller' => 'Controller1', 'action' => 'index']), 'plus', $this->getRequest()->getParam('controller') == 'Controller1');
        echo $this->Nav->navItem('Item 2', $this->Url->build(['controller' => 'Controller2', 'action' => 'dashboard']), 'box', $this->getRequest()->getParam('controller') == 'Controller2');
    $this->end();

```

Notice how you can use a check on the current controller to make a nav item current or not.

###  Health Score

17

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

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

Total

2

Last Release

1641d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9f02d954d75b8a38613946ca3ea8f6f9ede6160dc8e709d8e24a90e310a1a5cf?d=identicon)[C8Robin](/maintainers/C8Robin)

---

Top Contributors

[![C8Robin](https://avatars.githubusercontent.com/u/87411784?v=4)](https://github.com/C8Robin "C8Robin (18 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/c8robin-cakephp-rootui/health.svg)

```
[![Health](https://phpackages.com/badges/c8robin-cakephp-rootui/health.svg)](https://phpackages.com/packages/c8robin-cakephp-rootui)
```

###  Alternatives

[cakephp/debug_kit

CakePHP Debug Kit

84313.8M120](/packages/cakephp-debug-kit)[cakephp/app

CakePHP skeleton app

3831.7M1](/packages/cakephp-app)[cakephp/bake

Bake plugin for CakePHP

11111.0M135](/packages/cakephp-bake)[cakephp/localized

CakePHP Localized Plugin

218585.3k4](/packages/cakephp-localized)[cakephp/acl

Acl Plugin for CakePHP framework

109549.6k13](/packages/cakephp-acl)[cakephp/elastic-search

An Elastic Search datasource and data mapper for CakePHP

85739.4k6](/packages/cakephp-elastic-search)

PHPackages © 2026

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