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. [Framework](/categories/framework)
4. /
5. stepapo/menu

ActiveLibrary[Framework](/categories/framework)

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 3w 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 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

870d ago

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

0.2.0PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11784270?v=4)[Štěpán Postler](/maintainers/stepapo)[@stepapo](https://github.com/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

[nette/di

💎 Nette Dependency Injection Container: Flexible, compiled and full-featured DIC with perfectly usable autowiring and support for all new PHP features.

93041.5M1.6k](/packages/nette-di)[nette/bootstrap

🅱 Nette Bootstrap: the simple way to configure and bootstrap your Nette application.

68637.6M655](/packages/nette-bootstrap)[nette/code-checker

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

911.7M6](/packages/nette-code-checker)[nette/web-project

Nette: Standard Web Project

10993.3k](/packages/nette-web-project)[contributte/application

Extra contrib to nette/application

362.9M8](/packages/contributte-application)[nasext/dependent-select-box

Dependent Select Box for Nette Framework.

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

PHPackages © 2026

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