samdark/yii2-iconized-menu-widget IconizedMenu automatically adds favicons in front of menu links

Iconized menu

  1. Installation
  2. Usage

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/'],
	],
]);
0 0
1 follower
197 downloads
Yii Version: 2.0
License: BSD-3-Clause
Category: User Interface
Developed by: samdark
Created on: Mar 23, 2018
Last updated: (not set)
Packagist Profile
Github Repository

Related Extensions