PHPackages                             host33/yii2-multilevel-horizontal-menu - 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. host33/yii2-multilevel-horizontal-menu

AbandonedArchivedYii2-extension[Utility &amp; Helpers](/categories/utility)

host33/yii2-multilevel-horizontal-menu
======================================

This extension consists of a multilevel horizontal menu.

21.6k1PHP

Since May 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/host33/yii2-multilevel-horizontal-menu)[ Packagist](https://packagist.org/packages/host33/yii2-multilevel-horizontal-menu)[ RSS](/packages/host33-yii2-multilevel-horizontal-menu/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-multilevel-horizontal-menu
===============================

[](#yii2-multilevel-horizontal-menu)

This extension consists of a multilevel horizontal menu. It is based on the SMenu extension. The CSS code has been taken from this page: [http://www.dynamicdrive.com/style/csslibrary/item/jquery\_multi\_level\_css\_menu\_2](http://www.dynamicdrive.com/style/csslibrary/item/jquery_multi_level_css_menu_2 "http://www.dynamicdrive.com/style/csslibrary/item/jquery_multi_level_css_menu_2")

Demo
----

[](#demo)

[https://yiidemos.oligalma.com/multilevelhorizontalmenu](https://yiidemos.oligalma.com/multilevelhorizontalmenu "https://yiidemos.oligalma.com/multilevelhorizontalmenu")

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
$ php composer.phar require host33/yii2-multilevel-horizontal-menu "dev-master"

```

or add

```
"host33/yii2-multilevel-horizontal-menu": "dev-master"

```

to the `require` section of your `composer.json` file.

Usage
-----

[](#usage)

First of all, you have to add this piece of code where you want your menu to appear:

```
use host33\multilevelhorizontalmenu\MultilevelHorizontalMenu;
echo MultilevelHorizontalMenu::widget(
array(
"menu"=>array(
  array("url"=>array(),
               "label"=>"Products",
          array("url"=>array(
                       "route"=>"/product/create"),
                       "label"=>"Create product",),
          array("url"=>array(
                      "route"=>"/product/list"),
                      "label"=>"Product List",),
          array("url"=>array(),
                       "label"=>"View Products",
          array("url"=>array(
                       "route"=>"/product/show",
                       "params"=>array("id"=>3),
                       "htmlOptions"=>array("title"=>"title")),
                       "label"=>"Product 3"),
            array("url"=>array(),
                         "label"=>"Product 4",
                array("url"=>array(
                             "route"=>"/product/show",
                             "params"=>array("id"=>5)),
                             "label"=>"Product 5")))),
          array("url"=>array(
                       "route"=>"/event/create"),
                       "label"=>"Sales"),
          array("url"=>array(
                       "route"=>"/event/create"),
                       "label"=>"Extensions",
                       "visible"=>false),
          array("url"=>array(),
                       "label"=>"Documentation",
              array("url"=>array(
                           "link"=>"http://www.yiiframework.com",
                           "htmlOptions"=>array("target"=>"_BLANK")),
                           "label"=>"Yii Framework"),
          array("url"=>array(),
                       "label"=>"Clothes",
          array("url"=>array(
                       "route"=>"/product/men",
                       "params"=>array("id"=>3),
                       "htmlOptions"=>array("title"=>"title")),
                       "label"=>"Men"),
            array("url"=>array(),
                         "label"=>"Women",
                array("url"=>array(
                             "route"=>"/product/scarves",
                             "params"=>array("id"=>5)),
                             "label"=>"Scarves"))),
              array("url"=>array(
                           "route"=>"site/menuDoc"),
                           "label"=>"Disabled Link",
						   "disabled"=>true),
                )
          ),
)
);
```

Next, you have to add this other piece of code where you want the combobox menu to appear when the user shrink the window:

```
&lt;span id="insertHere"&gt;&lt;/span&gt;
```

License
-------

[](#license)

**yii2-multilevel-horizontal-menu** is released under the GPLv3 License. See the bundled `LICENSE.md` for details.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/host33-yii2-multilevel-horizontal-menu/health.svg)

```
[![Health](https://phpackages.com/badges/host33-yii2-multilevel-horizontal-menu/health.svg)](https://phpackages.com/packages/host33-yii2-multilevel-horizontal-menu)
```

###  Alternatives

[b7s/fluentvox

Fluent PHP wrapper for Chatterbox TTS - State-of-the-art text-to-speech with voice cloning

881.1k](/packages/b7s-fluentvox)

PHPackages © 2026

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