PHPackages                             desarrollo-cespi/pm-j-s-cook-menu-plugin - 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. desarrollo-cespi/pm-j-s-cook-menu-plugin

ActiveSymfony1-plugin[Utility &amp; Helpers](/categories/utility)

desarrollo-cespi/pm-j-s-cook-menu-plugin
========================================

symfony 1 plugin that wraps JSCookMenu and provides an easy way of creating menues

08JavaScript

Since Dec 28Pushed 12y ago7 watchersCompare

[ Source](https://github.com/Desarrollo-CeSPI/pmJSCookMenuPlugin)[ Packagist](https://packagist.org/packages/desarrollo-cespi/pm-j-s-cook-menu-plugin)[ RSS](/packages/desarrollo-cespi-pm-j-s-cook-menu-plugin/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

pmJSCookMenuPlugin
==================

[](#pmjscookmenuplugin)

The `pmJSCookMenuPlugin` is a wrapper for [JSCookMenu](http://jscook.yuanheng.org/JSCookMenu/index.html). It provides a nice way (using the Composite Design Pattern) for creating menues.

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

[](#installation)

- Install using [Composer](http://getcomposer.org):

```
{
  "require": {
    "desarrollo-cespi/pm-j-s-cook-menu-plugin": "dev-master"
  }
}
```

- Or install from git source.

Usage
-----

[](#usage)

- Load javascript an stylesheets (IE: ThemePanel)

```
# in apps//config/view.yml
stylesheets:    [main.css, /pmJSCookMenuPlugin/css/ThemePanel/theme.css]
javascripts:    [/pmJSCookMenuPlugin/js/JSCookMenu.js, /pmJSCookMenuPlugin/js/ThemePanel/theme.js]
```

- Select the theme (IE: ThemePanel)

```
// in apps//templates/layout.php (BEFORE include_javascript call)

var myBase = "/pmJSCookMenuPlugin/images/ThemePanel/";
var cmBase = myBase;

```

Display a menu using a yaml file:

- Create a yaml file for the menu

```
# in apps//config/menu.yml (or other file)
root:
  root: true
  orientation: hbr
  theme: ThemePanel

  menu1:
    title: Start here
    icon: menu.png #this is found in web/images
    submenu: # a submenu for menu1
      menu1.1:
        title: go to google
        url: http://www.google.com
      menu1.2:
        title: go to yahoo
        description: another search engine
        url: http://www.yahoo.com
        target: blank
      menu2:
        title: some actions
        submenu:
      menu2.1:
        title: Create an object
        credentials: [some, credentials]
        url: module/actions
      _cmSplit:
      menu2.2:
        title: another menu
        url: module/actions
```

- Display the menu

```
// in apps//templates/layout.php

```

- Display a menu programatically:

```

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/95592?v=4)[Nahuel Cuesta Luengo](/maintainers/ncuesta)[@ncuesta](https://github.com/ncuesta)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/desarrollo-cespi-pm-j-s-cook-menu-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/desarrollo-cespi-pm-j-s-cook-menu-plugin/health.svg)](https://phpackages.com/packages/desarrollo-cespi-pm-j-s-cook-menu-plugin)
```

###  Alternatives

[godbout/dash-docset-builder

Dash (LOVE) Docset Builder in PHP (LOVE).

1253.5k](/packages/godbout-dash-docset-builder)[markwalet/laravel-packagist

A Laravel wrapper for the `spatie/packagist-api` package.

132.1k](/packages/markwalet-laravel-packagist)

PHPackages © 2026

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