getdevflow/menu-builder
Composer 安装命令:
composer require getdevflow/menu-builder
包简介
Full featured navigation/menu builder plugin for Devflow CMF.
README 文档
README
A full navigation/menu builder for Devflow CMF.
Requires Devflow Version: 2.x
Tested Up To: 2.2.1
Requires PHP: 8.4+
Stable Tag: 1.0.2
License: GPLv2-only
Screenshot
Features
- Unlimited menus: header, footer, sidebar, mobile, etc.
- Add by drag/drop, checkbox or Add button.
- Rename menu items.
- Change URL and CSS class.
- Add url attributes
- Open links in a new window.
- Remove menu items.
- Drag/drop nesting with jQuery UI Sortable.
- Database-backed storage.
- Renderer API for frontend templates.
Codex Installation
- Start a new shell session.
- Navigate to the root of your install, run the following command
php codex plugin:install getdevflow/menu-builder.
Frontend usage
use Plugin\MenuBuilder\Helper\NavMenu; echo NavMenu::render('header-menu', [ 'bootstrap' => 3, 'menu_class' => 'nav navbar-nav', ]);
Or inject Plugin\MenuBuilder\Support\NavigationRenderer and call:
echo $navigationRenderer->render('header-menu');
Notes
The repository assumes these frontend URL conventions:
- Pages: value from
{prefix}_page_translations.route - Products:
/product/{product_slug} - Content:
/{content_type?}/{content_slug}
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-only
- 更新时间: 2026-05-18
