faboslav / yii2-material-navbar
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Forks: 0
Type:yii2-extension
pkg:composer/faboslav/yii2-material-navbar
This package is not auto-updated.
Last update: 2025-10-10 02:19:57 UTC
README
The preferred way to install this extension is through composer.
Either run
$ php composer.phar require faboslav/yii2-material-navbar "dev-master"
or add
"faboslav/yii2-material-navbar": "dev-master"
to the `
require`
section of your composer.json
file.
Usage
MaterialNavBar
use faboslav\materialnavbar\MaterialNavBar
echo MaterialNavBar::widget([
'items' => [
['label' => 'Page one', 'url' => '#'],
['label' => 'Page two', 'url' => '#', 'isActive' => true],
['label' => 'Page three', 'url' => '#'],
['label' => 'Page four', 'url' => '#'],
['label' => 'Page five', 'url' => '#'],
]
]);
Licence
MIT