This package contains a single class in charge of rendering a 'Menu' instance in HTML using the toHtml() method. The rendering is performed using <ul> and <li> tags.

v2.1.0 2022-12-09 11:02 UTC

This package is auto-updated.

Last update: 2024-05-09 14:10:41 UTC


This package contains a basic renderer to render in HTML a menu (using <ul> and <li> tags). The renderer is making extensive use of objects declared in the (mouf\[] package).

Mouf package

This package is part of Mouf (, an effort to ensure good developing practices by providing a graphical dependency injection framework. Using Mouf's user interface, you can create your menu graphically, by creating instances of Menu and MenuItem.

In practice

A menu is defined using the Menu class. The Menu class can contain many MenuItem. Each menuitem can contain many MenuItem. You pass a Menu instance to the BasicMenuRenderer::toHtml and it will render the menu.