Menu with favicons for each item.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
Menu.php
README.md
changelog.md
composer.json
screenshot.png

README.md

Iconized menu

Allows you to create a menu with the corresponding favicon on the left of each item.

Screenshot of the menu

Installation

Add the following to require section of your composer.json:

"samdark/yii2-iconized-menu-widget": "*"

Then do composer install.

Usage

use samdark\iconizedMenu;
echo Menu::widget([
	'items' => [
		['label' => 'Yii Framework', 'url' => 'http://yiiframework.com/'],
		['label' => 'RMCreative', 'url' => 'http://rmcreative.ru/', 'items' => [
			['label' => 'Yii Framework Russia', 'url' => 'http://yiiframework.ru/'],
		]],
		['label' => 'Twitter', 'url' => 'http://twitter.com/'],
	],
]);