Skip to content

awema-pl/module-navigation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Navigation generator

Installation

Via Composer

$ composer require awema-pl/module-navigation.php

The package will automatically register itself.

You can publish the config file with:

php artisan vendor:publish --provider="AwemaPL\Navigation\NavigationServiceProvider" --tag="config"

Menu structure

Default generator gets navs from navigation config navs array. Every item have to contain name and link or children. Additionally it can contain icon.

Read more about nav structure you can in Frame Navigation

Active link binding

By default link is set as active if a current url contains it.

You can add an exact param to the nav item if you want it active only if the current url equal to nav link.

To exclude nav item from active binding add an 'active' => false param to it.

About

Navigation package for Awema layouts

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages