PHPackages                             arillo/silverstripe-menumanager - 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. arillo/silverstripe-menumanager

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

arillo/silverstripe-menumanager
===============================

Allows complex menu management to be handled through the CMS when a simple tree structure is not enough.

2.0.1(3mo ago)050MITPHP

Since Aug 19Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/arillo-ch/silverstripe-menumanager)[ Packagist](https://packagist.org/packages/arillo/silverstripe-menumanager)[ RSS](/packages/arillo-silverstripe-menumanager/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (4)Versions (7)Used By (0)

Arillo Silverstripe Menu Manager
================================

[](#arillo-silverstripe-menu-manager)

The menu management module is for creating custom menu structures when the site tree hierarchy just won't do.

This module is an alternative to, and is inspired by, `heyday/silverstripe-menumanager`.

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

[](#installation)

```
composer require arillo/silverstripe-menumanager

```

After completing this step, navigate in Terminal or similar to the SilverStripe root directory and run `composer install` or `composer update` depending on whether or not you have composer already in use.

Usage
-----

[](#usage)

There are 2 main steps to creating a menu using menu management.

1. Create a new MenuSet
2. Add MenuItems to that MenuSet

### Creating a MenuSet

[](#creating-a-menuset)

This is pretty straight forward. You just give the MenuSet a Name (which is what you reference in the templates when controlling the menu).

As it is common to reference MenuSets by name in templates, you can configure sets to be created automatically during the /dev/build task. These sets cannot be deleted through the CMS.

```
Arillo\MenuManager\MenuSet:
    default_sets:
        - Main
        - Footer
```

### Disable creating Menu Sets in the CMS

[](#disable-creating-menu-sets-in-the-cms)

Sometimes the defined `default_sets` are all the menu's a project needs. You can disable the ability to create new Menu Sets in the CMS:

```
Arillo\MenuManager\MenuAdmin:
    enable_cms_create: false
```

*Note: Non-default Menu Sets can still be deleted, to help tidy unwanted CMS content.*

### Usage in template

[](#usage-in-template)

```

{$MenuTitle}

```

To loop through *all* MenuSets and their items:

```

		$MenuTitle

```

Optionally you can also limit the number of MenuSets and MenuItems that are looped through.

The example below will fetch the top 4 MenuSets (as seen in Menu Management), and the top 5 MenuItems for each:

```

		$MenuTitle

```

#### Enabling partial caching

[](#enabling-partial-caching)

[Partial caching](https://docs.silverstripe.org/en/4/developer_guides/performance/partial_caching/)can be enabled with your menu to speed up rendering of your templates.

```

     $MenuTitle.XML

```

### Allow sorting of MenuSets

[](#allow-sorting-of-menusets)

By default menu sets cannot be sorted, however, you can set your configuration to allow it.

```
Arillo\MenuManager\MenuSet:
    allow_sorting: true
```

Subsite Support
---------------

[](#subsite-support)

If you're using SilverStripe Subsites, you can make MenuManager subsite aware via applying an extension to the MenuSet.

*app/\_config/menus.yml*

```
Arillo\MenuManager\MenuSet:
  create_menu_sets_per_subsite: true
  extensions:
    - Arillo\MenuManager\Extensions\MenuSubsiteExtension
Arillo\MenuManager\MenuItem:
  extensions:
    - Arillo\MenuManager\Extensions\MenuSubsiteExtension

```

Migrate from data from heyday/silverstripe-menumanager
------------------------------------------------------

[](#migrate-from-data-from-heydaysilverstripe-menumanager)

Uninstall `heyday/silverstripe-menumanager` and install `arillo/silverstripe-menumanager`Run `dev/build/?flush=all`

Afterwards you can run `dev/tasks/Arillo-MenuManager-Tasks-MigrateFromHeydayMenus` to copy the records into the other table(s), e.g.:

```
vendor/bin/sake dev/tasks/Arillo-MenuManager-Tasks-MigrateFromHeydayMenus

```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance79

Regular maintenance activity

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~25 days

Total

5

Last Release

109d ago

Major Versions

1.x-dev → 2.0.02026-01-22

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/942999?v=4)[Arillo](/maintainers/Arillo)[@arillo](https://github.com/arillo)

---

Top Contributors

[![nicolas-cusan](https://avatars.githubusercontent.com/u/1353931?v=4)](https://github.com/nicolas-cusan "nicolas-cusan (4 commits)")[![bumbus](https://avatars.githubusercontent.com/u/1391103?v=4)](https://github.com/bumbus "bumbus (1 commits)")

### Embed Badge

![Health badge](/badges/arillo-silverstripe-menumanager/health.svg)

```
[![Health](https://phpackages.com/badges/arillo-silverstripe-menumanager/health.svg)](https://phpackages.com/packages/arillo-silverstripe-menumanager)
```

###  Alternatives

[silverstripe/userforms

UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code

1321.0M72](/packages/silverstripe-userforms)[silverstripe/redirectedurls

Provides a system for users to configure arbitrary redirections in the CMS

32522.2k10](/packages/silverstripe-redirectedurls)[heyday/silverstripe-menumanager

Allows complex menu management to be handled through the CMS when a simple tree structure is not enough.

36304.4k7](/packages/heyday-silverstripe-menumanager)[silverstripe/multiuser-editing-alert

A module that indicates when people are editing the same page in the CMS

1530.7k1](/packages/silverstripe-multiuser-editing-alert)

PHPackages © 2026

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