PHPackages                             matuck/menubundle - 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. matuck/menubundle

ActiveSymfony-bundle[Admin Panels](/categories/admin)

matuck/menubundle
=================

A system provide menus, and an admin panel to manage them.

014PHP

Since Mar 14Pushed 10y ago1 watchersCompare

[ Source](https://github.com/matuck/MenuBundle)[ Packagist](https://packagist.org/packages/matuck/menubundle)[ RSS](/packages/matuck-menubundle/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

MatuckMenuBundle
================

[](#matuckmenubundle)

The MatuckMenu provides an easy to create and manage menus for your application.

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

[](#installation)

MatuckMenuBundle uses Composer, please checkout the [composer website](http://getcomposer.org) for more information.

The simple following command will install `matuckmenubundle` into your project. It also add a new entry in your `composer.json` and update the `composer.lock` as well.

This bundle requires Assetic and Doctrine Extensions. It also has a client requirement for jQuery. Without jQuery you will not be able to reorder menus. IT is predesigned to work with bootstrap.

```
$ composer require matuck/menubundle
```

\##Configuration

Add the below entries to AppKernel.php

```
new matuck\MenuBundle\matuckMenuBundle()

```

In app/config/config.yml add a mapping entry like below.

```
doctrine:
    orm:
        entity_managers:
            default:
                mappings:
                    matuckMenuBundle: ~

```

### Setup Doctrine Extensions

[](#setup-doctrine-extensions)

Follow the below linked instructions. The main extension we need is tree. [Doctrine Extensions Setup](http://symfony.com/doc/current/bundles/StofDoctrineExtensionsBundle/index.html)

### Setup Assetic

[](#setup-assetic)

Follow the below linked instructions. [Assetic Setup](http://symfony.com/doc/current/cookbook/assetic/asset_management.html)

Getting Started
---------------

[](#getting-started)

Add the routes to your application. In your routing.yml add. You can change the prefix, but I suggest you make it something that is secured by your firewall

```
matuck_menu:
    resource: "@matuckMenuBundle/Controller/"
    type:     annotation
    prefix:   /admin/menu

```

Update the database to include the new entities

```
php bin/console doctrine:schema:update --force

```

What now?
---------

[](#what-now)

Build the menus in the panels. In your template where you want to display the menu put

```
{{ matuck_menu_render('main') }}
{{ matuck_menu_render('main', 'matuckMenuBundle::bootstrapmenuright.html.twig') }}

```

Main is the name of the root menu you want to show. The Second parameter can be deleted but allows you to pass a template file for rendering the menu. The bundle includes two template files. bootstrapmenu.html.twig and bootstrapmenuright.html.twig. By creating your own template and passing it you can design the menus however you want.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

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://avatars.githubusercontent.com/u/232119?v=4)[Mitch Tuck](/maintainers/matuck)[@matuck](https://github.com/matuck)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/matuck-menubundle/health.svg)

```
[![Health](https://phpackages.com/badges/matuck-menubundle/health.svg)](https://phpackages.com/packages/matuck-menubundle)
```

PHPackages © 2026

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