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

ActiveLibrary

stepapo/menu
============

Component for Nette Framework, that helps generate menus with links and action buttons.

0.2.0(2y ago)1307MITPHPPHP &gt;=8.1

Since May 20Pushed 2y ago1 watchersCompare

[ Source](https://github.com/stepapo/menu)[ Packagist](https://packagist.org/packages/stepapo/menu)[ Docs](https://github.com/stepapo/menu)[ RSS](/packages/stepapo-menu/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (5)Dependencies (3)Versions (6)Used By (0)

Menu
====

[](#menu)

Component for Nette Framework, that helps generate menus with links and action buttons. The docs show basic example and explain ways of configurating menus.

Example
-------

[](#example)

Let's create a menu with three links. Administration link is hidden for non-admins.

### Definition

[](#definition)

```
buttons:
    -
        label: Homepage
        destination: Home:default
    -
        label: About us
        destination: About:default
    -
        label: Administration
        destination: Admin:default
        hide: %hideAdmin%
```

### Component

[](#component)

```
public function createComponentMainMenu()
{
    return Stepapo\Menu\UI\Menu::createFromNeon(__DIR__ . '/mainMenu.neon', [
        'hideAdmin' => !$this->user->isInRole('admin')
    ]);
}
```

### Template

[](#template)

```
{control mainMenu}
```

Configuration
-------------

[](#configuration)

### Menu

[](#menu-1)

```
buttons:
    - # include Button configuration
    - # include Button configuration
actions:
    - # include Button configuration
    - # include Button configuration
templateFile:
translator:
```

### Button

[](#button)

```
label:
destination:
parameters:
selector:
icon:
type:
confimationText:
ajax:
history:
hide:
buttons:
    - # include Button configuration
    - # include Button configuration
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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.

###  Release Activity

Cadence

Every ~249 days

Total

5

Last Release

824d ago

PHP version history (2 changes)0.1.0PHP &gt;=8.0

0.2.0PHP &gt;=8.1

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

nettemenucomponent

### Embed Badge

![Health badge](/badges/stepapo-menu/health.svg)

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

###  Alternatives

[contributte/menu-control

Menu control for Nette framework

29108.6k1](/packages/contributte-menu-control)[carrooi/nette-menu

Menu control for Nette framework

2950.0k1](/packages/carrooi-nette-menu)[nette/code-checker

✅ Nette CodeChecker: A simple tool to check source code against a set of Nette coding standards.

881.7M6](/packages/nette-code-checker)[contributte/application

Extra contrib to nette/application

352.8M7](/packages/contributte-application)[nasext/dependent-select-box

Dependent Select Box for Nette Framework.

21262.8k2](/packages/nasext-dependent-select-box)

PHPackages © 2026

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