PHPackages                             cakemanager/cakeadmin-adminbar - 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. cakemanager/cakeadmin-adminbar

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

cakemanager/cakeadmin-adminbar
==============================

AdminBar plugin for CakeAdmin and CakePHP

0421PHP

Since Jul 16Pushed 10y ago2 watchersCompare

[ Source](https://github.com/cakemanager/cakeadmin-adminbar)[ Packagist](https://packagist.org/packages/cakemanager/cakeadmin-adminbar)[ RSS](/packages/cakemanager-cakeadmin-adminbar/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

AdminBar plugin for CakeAdmin and CakePHP
=========================================

[](#adminbar-plugin-for-cakeadmin-and-cakephp)

This plugin generates an easy-to-use admin-bar on top of your application when you are logged in as administrator.

> Note: This is a non-stable plugin for CakePHP 3.x at this time. It is currently under development and should be considered experimental.

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

[](#installation)

You can install this plugin into your CakePHP application using composer.

The recommended way to install composer packages is:

```
composer require cakemanager/cakeadmin-adminbar:dev-master

```

Now load the plugin with the command:

```
$ bin/cake plugin load -r -b AdminBar

```

The last thing you need to do is to load the `AdminBar.AdminBar`-Component using:

```
$this->loadComponent('AdminBar.AdminBar');

```

Settings
--------

[](#settings)

You can activate or deactivate the AdminBar in the settings-page in the backend.

Adding new items
----------------

[](#adding-new-items)

Adding items is done via the `Configure`-class of CakePHP. Look at this example:

```
Configure::write('AdminBar.goto_backend', [
    'on' => [
        'prefix' => ['!admin', '*'],
        'controller' => '*',
        'action' => '*',
    ],
    'label' => 'CakeAdmin Panel',
    'url' => '/admin'
]);

```

Explanation:

- `goto_backend` - The name of the item. Should be unique (because of overriding in the Configure-class).
- `on` - The `on`-key is used to validate if the item should be shown looking at the current request. See docs below.
- `label` - A string wich is the label of your item.
- `url` - A string or array to create the url. For all available options, see docs below.

### On-key

[](#on-key)

Via the `on`-key you can validate if the item should be shown.

- When using a `!` before the used key (like `'prefix' => '!admin'`), the current prefix should NOT be `admin`.
- When using a name (like `'prefix' => 'admin'`) the current prefix has to be equal to `admin`.
- When using `*` (like `'prefix' => '*'`) the current prefix can be anything.
- When you want to validate on multiple names you should use an array like `'prefix' => ['!admin', '*'],`

You can validate on `plugin`, `prefix`, `controller`, `action` and any other parameter you want to validate on. So this means when you defined a parameter `type` in your routes, you can validate on `type` by using:

```
Configure::write('AdminBar.custom_type', [
    'on' => [
        'controller' => '*',
        'action' => '*',
        'type' => 'specific'
    ],
]);

```

### Url-key

[](#url-key)

The `url`-key can be an string, or array to create an url. You can get parameters of the request using `:`:

```
Configure::write('AdminBar.read_blog', [
    'label' => 'Read Blog',
    'url' => [
        'prefix' => false,
        'plugin' => 'Cms',
        'controller' => 'Blogs',
        'action' => 'view',
        ':pass.1'
    ]
]);

```

The `:pass.1` is used to get a specific value of the request-parameters. When these are nested, use a `.` to go into them. Looking back on our `type`-example, you could use this:

```
Configure::write('AdminBar.custom_type', [
    'url' => [
        'prefix' => false,
        'plugin' => 'Cms',
        'controller' => 'Blogs',
        'action' => 'view',
        ':type'
    ]
]);

```

Keep in touch
-------------

[](#keep-in-touch)

If you need some help or got ideas for this plugin, feel free to chat at [Gitter](https://gitter.im/cakemanager/cakeadmin-adminbar).

Pull Requests are always more than welcome!

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

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

---

Top Contributors

[![bobmulder](https://avatars.githubusercontent.com/u/5465074?v=4)](https://github.com/bobmulder "bobmulder (6 commits)")

### Embed Badge

![Health badge](/badges/cakemanager-cakeadmin-adminbar/health.svg)

```
[![Health](https://phpackages.com/badges/cakemanager-cakeadmin-adminbar/health.svg)](https://phpackages.com/packages/cakemanager-cakeadmin-adminbar)
```

###  Alternatives

[jeroennoten/laravel-adminlte

Easy AdminLTE integration with Laravel

4.0k4.8M43](/packages/jeroennoten-laravel-adminlte)[dmstr/yii2-adminlte-asset

AdminLTE backend theme asset bundle for Yii 2.0 Framework

1.1k1.8M67](/packages/dmstr-yii2-adminlte-asset)[dwij/laraadmin

LaraAdmin is a Open source Laravel Admin Panel / CMS which can be used as Admin Backend, Data Management Tool or CRM boilerplate for Laravel with features like CRUD Generation, Module Manager, Media, Menus, Backups and much more

1.6k68.7k](/packages/dwij-laraadmin)[filament/spatie-laravel-media-library-plugin

Filament support for `spatie/laravel-medialibrary`.

1764.8M125](/packages/filament-spatie-laravel-media-library-plugin)[bezhansalleh/filament-exceptions

A Simple &amp; Beautiful Pluggable Exception Viewer for FilamentPHP's Admin Panel

193195.9k13](/packages/bezhansalleh-filament-exceptions)[filament/infolists

Easily add beautiful read-only infolists to any Livewire component.

1220.8M36](/packages/filament-infolists)

PHPackages © 2026

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