PHPackages                             davidyell/nice-admin - 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. [Admin Panels](/categories/admin)
4. /
5. davidyell/nice-admin

AbandonedArchivedCakephp-plugin[Admin Panels](/categories/admin)

davidyell/nice-admin
====================

A roll up plugin of various bits to improve the look of admin areas index view.

1.0.10(8y ago)103.8k3[1 issues](https://github.com/davidyell/CakePHP-NiceAdmin/issues)GPL-3.0PHPPHP &gt;=5.6.0

Since Dec 13Pushed 8y ago4 watchersCompare

[ Source](https://github.com/davidyell/CakePHP-NiceAdmin)[ Packagist](https://packagist.org/packages/davidyell/nice-admin)[ Docs](https://github.com/davidyell/CakePHP-NiceAdmin)[ RSS](/packages/davidyell-nice-admin/feed)WikiDiscussions master Synced 1mo ago

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

CakePHP-NiceAdmin
=================

[](#cakephp-niceadmin)

This plugin is designed to make admin areas baked from [CakePHP](http://www.cakephp.org/) look a little nicer and be easier to use and understand.

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

[](#requirements)

- CakePHP 3.x
- PHP 5.4.16+
- TwitterBootstrap (optional - just for styling)

What do you get in the box?
---------------------------

[](#what-do-you-get-in-the-box)

### ActionButtons Helper

[](#actionbuttons-helper)

Helper for replacing the 'Actions' cell contents in index views with buttons rather than textual links.

### StatusLights Helper

[](#statuslights-helper)

Helper for replacing a Status column in an index view with a nice coloured label based on the status\_id.

### Boolean Helper

[](#boolean-helper)

This will change boolean display fields into ticks (✔) and crosses (✘) rather than 1/0.

Get the code
------------

[](#get-the-code)

`composer require davidyell/nice-admin:dev-master`

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

[](#installation)

The plugin will need to be loaded using `Plugin::load('NiceAdmin')` in your `/config/bootstrap.php`.

Usage
-----

[](#usage)

To use the helpers you will need to add them to your helpers array in your `AppView`.

```
$this->loadHelper('NiceAdmin.StatusLights', $options);
$this->loadHelper('NiceAdmin.Actions');
$this->loadHelper('NiceAdmin.Gravatar');
$this->loadHelper('NiceAdmin.Boolean');
```

---

### Loading StatusLights Helper

[](#loading-statuslights-helper)

You can pass in an array of options into the StatusLights helper. The key of the array is the `status_id` then an array of the `label` to display and the `class` of the item output.

```
$options = [
    1 => [
        'label'=>'Live',
        'class'=>'label label-success'
    ],
    2 => [
        'label'=>'Inactive',
        'class'=>'label label-inverse'
    ],
    3 => [
        'label'=>'Deleted',
        'class'=>'label'
    ]
);
```

The example here replicates the default settings in the helper. So if you are happy with the defaults, you don't need to pass these options in.

### StatusLights Helper

[](#statuslights-helper-1)

This will convert a status link into a nice visually identifiable label.

```

```

---

### ActionButtons Helper

[](#actionbuttons-helper-1)

You can output either buttons or icons depending on which you need. The helper will, by default, output all three links as buttons. Passing in an array of buttons you want to ouput as `v`,`e` and/or `d`. For 'View', 'Edit', and 'Delete'. Then you'll need to pass in the controller. The last option is either `icons` or `buttons`.

```

```

---

### Loading Boolean Helper

[](#loading-boolean-helper)

Similar to the StatusLights helper you can pass in an array of options to customise the display of the output.

```
$optons =
    1 => [ // true
        'class'=>'badge badge-success',
        'display'=>'&#10004;'
    ],
    0 => [ // false
        'class'=>'badge badge-important',
        'display'=>'&#10008;'
    ]
)
```

### Boolean Helper

[](#boolean-helper-1)

```

```

---

What's it look like?
--------------------

[](#whats-it-look-like)

[![Table row](https://camo.githubusercontent.com/c50acb4c51e64900c4d922558623e870d4dc381ae7d7162385d584e21ba23d4c/687474703a2f2f692e696d6775722e636f6d2f785a5379382e706e67)](https://camo.githubusercontent.com/c50acb4c51e64900c4d922558623e870d4dc381ae7d7162385d584e21ba23d4c/687474703a2f2f692e696d6775722e636f6d2f785a5379382e706e67)

Further development
-------------------

[](#further-development)

Let me know what features you'd like or feel free to fork and create a pull request.

License
-------

[](#license)

[![Creative Commons License](https://camo.githubusercontent.com/2e47850e627609184fe5412d84bb63ab98727d1fd1ff5b534c73d0f174f32ea5/687474703a2f2f692e6372656174697665636f6d6d6f6e732e6f72672f6c2f62792d73612f332e302f38387833312e706e67)](http://creativecommons.org/licenses/by-sa/3.0/deed.en_US)
This work is licensed under a [Creative Commons Attribution-ShareAlike 3.0 Unported License](http://creativecommons.org/licenses/by-sa/3.0/deed.en_US).

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

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

Recently: every ~112 days

Total

17

Last Release

2939d ago

Major Versions

0.1.2 → 2.x-dev2015-07-10

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

1.0.7PHP &gt;=5.6.0

### Community

Maintainers

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

---

Top Contributors

[![davidyell](https://avatars.githubusercontent.com/u/49889?v=4)](https://github.com/davidyell "davidyell (16 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/davidyell-nice-admin/health.svg)

```
[![Health](https://phpackages.com/badges/davidyell-nice-admin/health.svg)](https://phpackages.com/packages/davidyell-nice-admin)
```

###  Alternatives

[friendsofcake/crud

CakePHP Application development on steroids - rapid prototyping / scaffolding &amp; production ready code - XML / JSON APIs and more

3751.4M25](/packages/friendsofcake-crud)[dereuromark/cakephp-setup

A CakePHP plugin containing lots of useful management tools

36162.8k2](/packages/dereuromark-cakephp-setup)[friendsofcake/crud-view

View layer for CRUD

52433.8k2](/packages/friendsofcake-crud-view)[arodu/cakelte

CakeLTE: AdminLTE plugin for CakePHP

3626.9k](/packages/arodu-cakelte)[dereuromark/cakephp-translate

A CakePHP plugin for managing translations

1710.4k](/packages/dereuromark-cakephp-translate)[xety/xeta

A resource to help people starting with Cake3

531.4k](/packages/xety-xeta)

PHPackages © 2026

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