Download the PHP package adamb/menu-builder without Composer
On this page you can find all versions of the php package adamb/menu-builder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package menu-builder
PHP Menu Builder
Create a HTML menu and breadcrumb menu items from a PHP array
Installation
Installation is available via Composer/Packagist:
License
This software is distributed under the MIT license. Please read LICENSE for information on the software availability and distribution.
Basic Usage
Add Menu Items
Make a new instance of the Navigation
menu builder
Add some menu items
The addLink method allows the following:
$title
Is a string that should contain the test to display on the link$uri
Is a string that should contain the link URI$options
Is an array that can contain any of the following array elements ['label', 'uri', 'fragment', 'title', 'target', 'rel', 'class', 'id', 'link_order', 'active', 'li_class', 'li_id', 'ul_class', 'ul_id', 'children']
Set Current URI
Set the active link for the menu
Render Menu
Output the menu to the screen
Render Breadcrumb Menu
Output a breadcrumb menu to the screen
All versions of menu-builder with dependencies
PHP Build Version
Package Version
No informations.
The package adamb/menu-builder contains the following files
Loading the files please wait ....