PHPackages                             plato-creative/silverstripe-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. [Admin Panels](/categories/admin)
4. /
5. plato-creative/silverstripe-menu

ActiveSilverstripe-vendormodule[Admin Panels](/categories/admin)

plato-creative/silverstripe-menu
================================

Adds multiple menus that are defined via yml and managed via the cms.

2.0.1(3y ago)019BSD-3-ClausePHP

Since Mar 12Pushed 3y agoCompare

[ Source](https://github.com/PlatoCreative/silverstripe-menu)[ Packagist](https://packagist.org/packages/plato-creative/silverstripe-menu)[ Docs](http://github.com/PlatoCreative/silverstripe-menu)[ Fund](https://ko-fi.com/gorrie)[ RSS](/packages/plato-creative-silverstripe-menu/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (20)Used By (0)

Silverstripe menus
==================

[](#silverstripe-menus)

Adds multiple menus that are defined via yml and managed via the cms.

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

[](#installation)

Composer is the recommended way of installing SilverStripe modules.

```
composer require plato-creative/silverstripe-menu

```

Requirements
------------

[](#requirements)

- silverstripe/framework ^4.0
- symbiote/silverstripe-gridfieldextensions ^3.1
- [gorriecoe/silverstripe link](https://github.com/gorriecoe/silverstripe-link) ^1.1

Maintainers
-----------

[](#maintainers)

- [Gorrie Coe](https://github.com/gorriecoe)

Creating custom menus
---------------------

[](#creating-custom-menus)

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

```
gorriecoe\Menu\Models\MenuSet:
  sets:
    main: Main menu
    secondary: Another menu

```

Nested and flat menus
---------------------

[](#nested-and-flat-menus)

By default menus will be flat, which means links can not have child links associated with them. If you need a nested menu structure, you can do so by adding `allow_children: true` to the yml file as shown below.

```
gorriecoe\Menu\Models\MenuSet:
  sets:
    footer:
      title: Footer menu
      allow_children: true

```

Adding links to menus
---------------------

[](#adding-links-to-menus)

Once you have created your menus you can add links in the admin area. The fields are inherited from [silverstripe link](https://github.com/gorriecoe/silverstripe-link).

Automatically add links from sitetree to specific menus
-------------------------------------------------------

[](#automatically-add-links-from-sitetree-to-specific-menus)

If you need to automatically add links to a menu after the creation of a page, you can do so by adding the following extension to page and defining `owns_menu`.

```
Page:
  extensions:
    - gorriecoe\Menu\Extensions\SiteTreeAutoCreateExtension
  owns_menu:
    - main
    - footer

```

Usage in template
-----------------

[](#usage-in-template)

```

            {$Me}

```

See [silverstripe link](https://github.com/gorriecoe/silverstripe-link#template-options) for more template options.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 74.6% 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 ~102 days

Recently: every ~269 days

Total

19

Last Release

1131d ago

Major Versions

1.5.0 → 2.0.02022-08-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/23e3a1ee967f8874e7e6bdc6394b03876b07e281c437c2fc40113e7a01b83878?d=identicon)[platocreative](/maintainers/platocreative)

---

Top Contributors

[![gorriecoe](https://avatars.githubusercontent.com/u/11811440?v=4)](https://github.com/gorriecoe "gorriecoe (47 commits)")[![tractorcow](https://avatars.githubusercontent.com/u/936064?v=4)](https://github.com/tractorcow "tractorcow (12 commits)")[![merwinpoulose](https://avatars.githubusercontent.com/u/15919557?v=4)](https://github.com/merwinpoulose "merwinpoulose (4 commits)")

---

Tags

linksilverstripemenucmsmodular

### Embed Badge

![Health badge](/badges/plato-creative-silverstripe-menu/health.svg)

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

###  Alternatives

[lara-zeus/sky

Lara-zeus sky is simple CMS for your website. It includes posts, pages, tags, and categories.

20726.5k3](/packages/lara-zeus-sky)[praxisnetau/silverstripe-moderno-admin

A SilverStripe module to give the CMS a more modern, flat appearance.

224.4k](/packages/praxisnetau-silverstripe-moderno-admin)

PHPackages © 2026

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