PHPackages                             wpessential/wpessential-menus - 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. wpessential/wpessential-menus

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

wpessential/wpessential-menus
=============================

WPEssential Menus helping the menus registry in WordPress.

2.0.3(1y ago)029[1 issues](https://github.com/wpessential/wpessential-menus/issues)1GPL-3.0-or-laterPHPPHP &gt;=7.4CI failing

Since Aug 7Pushed 1y ago1 watchersCompare

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

READMEChangelog (5)DependenciesVersions (6)Used By (1)

WPEssential Menus
=================

[](#wpessential-menus)

Help to register the menus in WordPress.

`composer require wpessential/wpessential-menus`

Add the single menu to WordPress registry

```
$menu = \WPEssential\Library\Menus::make();
$menu->add([
    'id'	=> 'primary_menu',
    'name'	=> esc_html__( 'Primary Menu', 'wpessential' ),
]);
$menu->init();
```

Add the multiple menus to WordPress registry

```
$menu = \WPEssential\Library\Menus::make();
$menu->adds([
    'primary_menu' => esc_html__( 'Primary Menu', 'wpessential' ),
    'footer_menu'  => esc_html__( 'Footer Menu', 'wpessential' ),
]);
$menu->init();
```

Remove the single menu from WordPress registry

```
$menu = \WPEssential\Library\Menus::make();
$menu->remove('primary_menu');
$menu->init();
```

Remove the multiple menus from WordPress registry

```
$menu = \WPEssential\Library\Menus::make();
$menu->removes(['primary_menu']);
$menu->init();
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance45

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity43

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 ~55 days

Total

5

Last Release

425d ago

Major Versions

1.0.0 → 2.02024-09-09

### Community

Maintainers

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

---

Top Contributors

[![wpessential](https://avatars.githubusercontent.com/u/24288930?v=4)](https://github.com/wpessential "wpessential (6 commits)")

### Embed Badge

![Health badge](/badges/wpessential-wpessential-menus/health.svg)

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

###  Alternatives

[php-units-of-measure/php-units-of-measure

A PHP library for converting between standard units of measure.

3123.4M20](/packages/php-units-of-measure-php-units-of-measure)[coderello/laravel-shared-data

Package for sharing data from Laravel to JavaScript.

31377.3k1](/packages/coderello-laravel-shared-data)

PHPackages © 2026

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