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

extensioniconmenufavicon

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/'],
    ],
]);

Changelog

Iconized menu Changelog

1.2.0

  • Changed namespace again to conform to Yii extension guide (samdark)

1.1.0

  • Changed namespace to conform to Yii extension guide (samdark)

1.0.0

  • Initial release (samdark)

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



1.3.2 is the latest of 5 releases



BSD-3-Clause license
Stats
8 github stars & 8 github forks
0 downloads in the last day
0 downloads in the last 30 days
209 total downloads