PHPackages                             ivopetkov/navigation-menu-bearframework-addon - 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. ivopetkov/navigation-menu-bearframework-addon

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ivopetkov/navigation-menu-bearframework-addon
=============================================

Navigation menu addon for Bear Framework

v1.7.0(6mo ago)02.3k1MITJavaScriptPHP 8.0.\*|8.1.\*|8.2.\*|8.3.\*|8.4.\*|8.5.\*

Since Apr 26Pushed 6mo ago2 watchersCompare

[ Source](https://github.com/ivopetkov/navigation-menu-bearframework-addon)[ Packagist](https://packagist.org/packages/ivopetkov/navigation-menu-bearframework-addon)[ Docs](https://github.com/ivopetkov/navigation-menu-bearframework-addon)[ RSS](/packages/ivopetkov-navigation-menu-bearframework-addon/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (6)Versions (39)Used By (1)

Navigation Menu
===============

[](#navigation-menu)

Addon for Bear Framework

This addon enables you to easily create multiple types of navigations for your website.

[![Build Status](https://camo.githubusercontent.com/09ee362baf66307b72664b967dbeb31f11050c31cd2f5819e73abeb52e33e37a/68747470733a2f2f7472617669732d63692e6f72672f69766f7065746b6f762f6e617669676174696f6e2d6d656e752d626561726672616d65776f726b2d6164646f6e2e737667)](https://travis-ci.org/ivopetkov/navigation-menu-bearframework-addon)[![Latest Stable Version](https://camo.githubusercontent.com/adbcbff627fd700e7f50f980f059e8508eeb859a4fd06ba7889916f424940528/68747470733a2f2f706f7365722e707567782e6f72672f69766f7065746b6f762f6e617669676174696f6e2d6d656e752d626561726672616d65776f726b2d6164646f6e2f762f737461626c65)](https://packagist.org/packages/ivopetkov/navigation-menu-bearframework-addon)[![codecov.io](https://camo.githubusercontent.com/2dc134dd3cd121476d1eb9537a251d196f9ad70a2ac3eca1bf1570c010977ae7/68747470733a2f2f636f6465636f762e696f2f6769746875622f69766f7065746b6f762f6e617669676174696f6e2d6d656e752d626561726672616d65776f726b2d6164646f6e2f636f7665726167652e7376673f6272616e63683d6d6173746572)](https://codecov.io/github/ivopetkov/navigation-menu-bearframework-addon?branch=master)[![License](https://camo.githubusercontent.com/7f89c630a1bbe0d94b0d405afc0388e8293ab41200e39c68d5dc4bb6d3176f8c/68747470733a2f2f706f7365722e707567782e6f72672f69766f7065746b6f762f6e617669676174696f6e2d6d656e752d626561726672616d65776f726b2d6164646f6e2f6c6963656e7365)](https://packagist.org/packages/ivopetkov/navigation-menu-bearframework-addon)[![Codacy Badge](https://camo.githubusercontent.com/c2a1296e22b713a15c018f1945331d0d69f7dd1134fb95982ee5e01c1aa3c9f2/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f6333643433363339633835393434303362383036333534396365366538376562)](https://www.codacy.com/app/ivo_2/navigation-menu-bearframework-addon)

Download and install
--------------------

[](#download-and-install)

**Install via Composer**

```
composer require ivopetkov/navigation-menu-bearframework-addon
```

**Download an archive**

Download the [latest release](https://github.com/ivopetkov/navigation-menu-bearframework-addon/releases) from the [GitHub page](https://github.com/ivopetkov/navigation-menu-bearframework-addon) and include the autoload file.

```
include '/path/to/the/addon/autoload.php';
```

Enable the addon
----------------

[](#enable-the-addon)

Enable the addon for your Bear Framework application.

```
$app->addons->add('ivopetkov/navigation-menu-bearframework-addon');
```

Usage
-----

[](#usage)

```

        Button 1
        Button 2

                Button 2.1
                Button 2.2
                Button 2.3

        Button 3

```

### Attributes

[](#attributes)

`type`

 The type of the navigation. Available values: horizontal-down, vertical-left, vertical-right, list-vertical, list-horizontal

`moreItemHtml`

 The HTML code for the more item. Must contain li and ul tags. Example: `...`

`class`

 HTML class attribute value

`style`

 HTML style attribute value

### Examples

[](#examples)

The navigation will be horizontal and submenus will show bellow. If there are too many first level items, a more item will be shown.

```

        Button 1
        Button 2

                Button 2.1
                Button 2.2
                Button 2.3

        Button 3

```

The navigation will be vertical and submenus will open to the right.

```

        Button 1
        Button 2

                Button 2.1
                Button 2.2
                Button 2.3

        Button 3

```

License
-------

[](#license)

Navigation menu addon for Bear Framework is open-sourced software. It's free to use under the MIT license. See the [license file](https://github.com/ivopetkov/navigation-menu-bearframework-addon/blob/master/LICENSE) for more information.

Author
------

[](#author)

This addon is created by Ivo Petkov. Feel free to contact me at [@IvoPetkovCom](https://twitter.com/IvoPetkovCom) or [ivopetkov.com](https://ivopetkov.com).

###  Health Score

51

—

FairBetter than 95% of packages

Maintenance66

Regular maintenance activity

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity93

Battle-tested with a long release history

 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.

###  Release Activity

Cadence

Every ~95 days

Recently: every ~284 days

Total

38

Last Release

206d ago

Major Versions

v0.1.12 → v1.0.02021-01-02

PHP version history (7 changes)v0.0.1PHP &gt;=5.5.0

v0.1.0-beta.2PHP &gt;=7.1.0

v1.0.1PHP 7.1.\*|7.2.\*|7.3.\*|7.4.\*|8.0.\*

v1.3.0PHP 7.1.\*|7.2.\*|7.3.\*|7.4.\*|8.0.\*|8.1.\*

v1.5.0PHP 7.1.\*|7.2.\*|7.3.\*|7.4.\*|8.0.\*|8.1.\*|8.2.\*|8.3.\*

v1.6.0PHP 8.0.\*|8.1.\*|8.2.\*|8.3.\*|8.4.\*

v1.7.0PHP 8.0.\*|8.1.\*|8.2.\*|8.3.\*|8.4.\*|8.5.\*

### Community

Maintainers

![](https://www.gravatar.com/avatar/c06ddc5a1d8a94abf93b332db93ae6d03cbe97c1f2a4acf18450c7fbb25a4316?d=identicon)[ivopetkov](/maintainers/ivopetkov)

---

Top Contributors

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

---

Tags

navigation-menuBear Framework addon

### Embed Badge

![Health badge](/badges/ivopetkov-navigation-menu-bearframework-addon/health.svg)

```
[![Health](https://phpackages.com/badges/ivopetkov-navigation-menu-bearframework-addon/health.svg)](https://phpackages.com/packages/ivopetkov-navigation-menu-bearframework-addon)
```

PHPackages © 2026

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