Download the PHP package resofire/menu-control without Composer

On this page you can find all versions of the php package resofire/menu-control. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package menu-control

resofire/menu-control

A Flarum extension that gives admins full control over the sidebar navigation on the forum index page — reorder items, add custom links, customize icons, highlight items for users, and more.


Features

Navigation Order

Use the arrow buttons to reorder all sidebar nav items (All Discussions, Tags, Following, User Directory, third-party extension links, etc.). The order updates immediately after saving.

Custom Links

Add your own links to the sidebar nav. Each custom link has a label, URL, and icon. External links (starting with http:// or https://) open in a new tab automatically. Internal links (paths or your forum's URL) open in the same tab via Mithril's router.

Flip Navigation

Moves tag links to the top of the sidebar and nav items (All Discussions, Following, etc.) to the bottom. Applies on all screen sizes.

Sticky Sidebar

Keeps the sidebar fixed at the top of the viewport as the user scrolls. The Start a Discussion button stays visible at all times. Desktop only.

Custom Icons

Each nav item has a text input for overriding its Font Awesome icon class (e.g. fas fa-bolt). Leave it empty to use the extension's default icon.

Highlight Items

Mark any nav item with the star button to apply a highlight treatment: colored background at reduced opacity, solid border, and a pulsing glow animation. Desktop only.

Highlight Color

A color picker controls the background, border, and glow color for highlighted items.

Remove Items from List

Any item can be permanently removed from the admin list using the × button. Useful for items discovered by the PHP scanner that don't actually appear in your forum's nav (e.g. fof/polls items when global polls is disabled).


Installation

Install via Flarum's built-in Extension Manager, or via Composer:


First-time setup

After enabling the extension:

  1. Visit the forum index page while logged in as an admin. This automatically detects all active nav items and saves the current display order.
  2. Go to Admin → Extensions → Menu Control to configure.

If you install or uninstall extensions that add nav items, visit the forum index page again as admin to refresh the list.


Admin Panel Reference

Control Description
Flip navigation Toggle — tags above nav items
Sticky sidebar Toggle — fixed sidebar on desktop
Highlight color Color picker for highlighted item styling
Add Custom Link Add a custom nav link with label, URL, and icon
Icon input Override the Font Awesome icon (e.g. fas fa-fire)
★ star button Toggle highlight on/off for an item
× button Remove item from the admin list permanently
↑ / ↓ buttons Reorder nav items
Save Order Persist all changes

Compatibility with Other Extensions

fof/blog

Ordering, custom icons, flip, and highlight all apply to the blog page's Forum Nav sidebar automatically.

fof/polls

If fof/polls is installed, items like fof-polls-showcase may appear in the admin list even when global polls is disabled. Use the × button to remove them permanently.


Settings stored

Key Content
resofire-menu-control.order JSON array of nav keys in saved order
resofire-menu-control.known-keys JSON array of all discovered nav keys
resofire-menu-control.labels JSON object of key → display label (auto-discovered)
resofire-menu-control.icons JSON object of key → FA icon class (auto-discovered)
resofire-menu-control.custom-icons JSON object of key → admin-overridden FA icon class
resofire-menu-control.custom-links JSON array of custom link objects
resofire-menu-control.flip "1" or "0"
resofire-menu-control.sticky "1" or "0"
resofire-menu-control.highlighted JSON array of highlighted nav keys
resofire-menu-control.highlight-color Hex color string
resofire-menu-control.removed-keys JSON array of keys removed from the admin list

Requirements

Flarum 1.8+ (flarum/core: ^1.8).


License

MIT — see LICENSE.


All versions of menu-control with dependencies

PHP Build Version
Package Version
Requires flarum/core Version ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package resofire/menu-control contains the following files

Loading the files please wait ...