PHPackages                             markhatchell/cakephp3-easy-menus - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. markhatchell/cakephp3-easy-menus

ActiveCakephp-plugin[Utility &amp; Helpers](/categories/utility)

markhatchell/cakephp3-easy-menus
================================

An easy to use table based menu plugin for CakePHP3

1851[3 issues](https://github.com/markhatchell/cakephp3-easy-menus/issues)PHP

Since Jun 12Pushed 10y ago2 watchersCompare

[ Source](https://github.com/markhatchell/cakephp3-easy-menus)[ Packagist](https://packagist.org/packages/markhatchell/cakephp3-easy-menus)[ RSS](/packages/markhatchell-cakephp3-easy-menus/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

EasyMenus plugin for CakePHP3
=============================

[](#easymenus-plugin-for-cakephp3)

[![Latest Stable Version](https://camo.githubusercontent.com/939a2886b1126d55c4053758993e4a165999007eae5b36931535f953c222a0cd/68747470733a2f2f706f7365722e707567782e6f72672f6d61726b6861746368656c6c2f63616b65706870332d656173792d6d656e75732f762f737461626c65)](https://packagist.org/packages/markhatchell/cakephp3-easy-menus) [![Total Downloads](https://camo.githubusercontent.com/1127bd9affa0ee6e86bc41e7d309c95878a4b986dc1ce486d2fdc8ee651c9e4c/68747470733a2f2f706f7365722e707567782e6f72672f6d61726b6861746368656c6c2f63616b65706870332d656173792d6d656e75732f646f776e6c6f616473)](https://packagist.org/packages/markhatchell/cakephp3-easy-menus) [![Latest Unstable Version](https://camo.githubusercontent.com/6892d4bd9a7e6bd16a97b718ff7c7d5eafa947ce8dd5296cf938085fe3397c5b/68747470733a2f2f706f7365722e707567782e6f72672f6d61726b6861746368656c6c2f63616b65706870332d656173792d6d656e75732f762f756e737461626c65)](https://packagist.org/packages/markhatchell/cakephp3-easy-menus) [![License](https://camo.githubusercontent.com/752795455ff1a30fe55c17815ec955edc538016fc75113cd23f877dc3f86ab68/68747470733a2f2f706f7365722e707567782e6f72672f6d61726b6861746368656c6c2f63616b65706870332d656173792d6d656e75732f6c6963656e7365)](https://packagist.org/packages/markhatchell/cakephp3-easy-menus)

Notice
------

[](#notice)

This plugin is still in a development phase.

If you wish to contribute please let me know.

The plugin should now work pretty well.

The requirements are not included in composer as you should include them directly with composer or a CDN.

### Features

[](#features)

- Store your menu in a database table so that your load-balanced servers can all access and display the same menu without having to update the source.
- Nested menu structure.
- Based on Bootstrap nav.
- Manual or Route based link types.
- Collects all the routes and offers them for you to use them as a menu item.
- Class parameters for the menu to aid with styling.
- Configurable menu display options.

### Upcoming Features

[](#upcoming-features)

- √ Class parameters for the menu to aid with styling.
- Showing and hiding menu items based on if the user is authenticated.
- Regeneration of static link field in the db based on the route info stored in the params field.
- Role based access, this will require the users of this plugin to have a role field on their user entities.
- Caching for the menus.

### Requirements

[](#requirements)

- bootstrap - used for form layout and menu display.
- jQuery - used for form layout and menu display.

\###With composer:

```
composer require elboletaire/twbs-cake-plugin:~3.0
composer require twbs/bootstrap:~3.0

composer require components/jquery:1.*
#[OR]
composer require components/jquery:2.* #jQuery 2.x (IE Html->css('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css');
$this->Html->css('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap-theme.min.css');
$this->Html->script('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js');

$this->Html->script('http://code.jquery.com/jquery-1.11.3.min.js');
//[OR]
$this->Html->script('http://code.jquery.com/jquery-2.1.4.min.js'); //jQuery 2.x (IE  false, 'routes' => true]);

```

Install the table for EasyMenus:

```
bin/cake migrations migrate --plugin EasyMenus

```

To display the menu: Add this to /src/Controller/AppController.php

```
use EasyMenus\Controller\Component\EasyMenusComComponent;
...
    public function initialize()
    {
        parent::initialize();
        ...
        $this->loadComponent('EasyMenus.EasyMenusCom');
    }

```

Add this to src/template/layout/default.ctp:

```

```

To access the menu admin UI navigate to:

```
/admin/EasyMenus

```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity12

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/cfcf2a98dc755300dc74dad5ef4b44c21447f6985430b831ca1a9014238bd1cb?d=identicon)[markhatchell](/maintainers/markhatchell)

---

Top Contributors

[![markhatchell](https://avatars.githubusercontent.com/u/154849?v=4)](https://github.com/markhatchell "markhatchell (35 commits)")

### Embed Badge

![Health badge](/badges/markhatchell-cakephp3-easy-menus/health.svg)

```
[![Health](https://phpackages.com/badges/markhatchell-cakephp3-easy-menus/health.svg)](https://phpackages.com/packages/markhatchell-cakephp3-easy-menus)
```

###  Alternatives

[structurizr-php/structurizr-php

Structurizr for PHP

170137.7k](/packages/structurizr-php-structurizr-php)[torifat/cake-menu_builder

A dynamic menu building helper for CakePHP 2.x

755.6k](/packages/torifat-cake-menu-builder)[backstage/laravel-og-image

Laravel package to generate dynamic Open Graph images

723.2k](/packages/backstage-laravel-og-image)[alrik11es/calendar

An structured calendar generator in array, object or json format

131.1k](/packages/alrik11es-calendar)

PHPackages © 2026

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