LaravelPackages.net
Acme Inc.
Toggle sidebar
awema-pl/module-navigation

Navigation package for Awema layouts

60
0
v1.0.4
About awema-pl/module-navigation

awema-pl/module-navigation is a Laravel package for navigation package for awema layouts. It currently has 0 GitHub stars and 60 downloads on Packagist (latest version v1.0.4). Install it with composer require awema-pl/module-navigation. Discover more Laravel packages by awema-pl or browse all Laravel packages to compare alternatives.

Last updated

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"

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

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.

Comments