Download the PHP package keltiecochrane/themosis-menu without Composer
On this page you can find all versions of the php package keltiecochrane/themosis-menu. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download keltiecochrane/themosis-menu
More information about keltiecochrane/themosis-menu
Files in keltiecochrane/themosis-menu
Package themosis-menu
Short Description A package to make working with menus easier.
License GPL-3.0-or-later
Informations about the package themosis-menu
Themosis Cache
A package to make working with menus easier. Requires keltiecochrane/themosis-illuminate
and keltiecochrane/themosis-cache
to be setup for collections and caching. Will build menus from source and cache them "forever", will clear the menu from cache if it's updated/deleted.
Install
Install through composer: -
composer require keltiecochrane/themosis-menu
Register the service provider in your theme/resources/config/providers.php
file: -
KeltieCochrane\Menu\MenuServiceProvider::class,
Optionally register the alias in your theme/resources/config/theme.php
file: -
'Menu' => KeltieCochrane\Menu\MenuFacade::class,
Examples
See the Laravel docs for more info.
Helpers
The following (additional) helpers are available: -
- getMenuById(int $menuId, int $activePostId = null)
- getMenuByLocation(string $location, int $activePostId = null)
To Do
- Testing
Support
This plugin is provided as is, though we'll endeavour to help where we can.
Contributing
Any contributions would be encouraged and much appreciated, you can contribute by: -
- Reporting bugs
- Suggesting features
- Sending pull requests
All versions of themosis-menu with dependencies
composer/installers Version ~1.2
themosis/framework Version ^1.3
djgadd/themosis-illuminate Version ^1.0
djgadd/themosis-cache Version ^1.0