PHPackages                             madforwebs/menu-bundle - 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. madforwebs/menu-bundle

ActiveSymfony-bundle

madforwebs/menu-bundle
======================

This bundle provides a menu bundle for symfony2

075PHP

Since May 10Pushed 8y ago1 watchersCompare

[ Source](https://github.com/madforwebs/MenuBundle)[ Packagist](https://packagist.org/packages/madforwebs/menu-bundle)[ RSS](/packages/madforwebs-menu-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

MenuBundle
==========

[](#menubundle)

The `MenuBundle` means easy-to-implement and feature-rich menus in your Symfony application!

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

[](#installation)

### Download the Bundle

[](#download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require madforwebs/menu-bundle
```

This command requires you to have Composer installed globally, as explained in the `installation chapter` of the Composer documentation.

### Enable the Bundle

[](#enable-the-bundle)

Then, enable the bundle by adding the following line in the `app/AppKernel.php`file of your project:

```
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new Knp\Bundle\MadForWebs\MenuBundle(),
        );

        // ...
    }

    // ...
}
```

Create your first menu
----------------------

[](#create-your-first-menu)

An example builder class would look like this:

```
