execut / yii2-navigation
Widgets and components for simplify navigation
Installs: 667
Dependents: 2
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: @dev
- yiisoft/yii2-jui: @dev
Requires (Dev)
- codeception/codeception: ^4.0
- codeception/module-asserts: ^1.0
- codeception/module-filesystem: ^1.0
- codeception/module-yii2: ^1.0
- codeception/verify: ~0.5.0 || ~1.1.0
README
Yii2 navigation extension
Extension for managing everything related to navigation. Has widgets for display breadcrumbs with support microdata scheme, SEO tags, menus, title and text of the active page according to the given hierarchy. What unties all modules from each other necessary due to the possibility of dynamic customization.
For license information check the LICENSE-file.
English documentation is at docs/guide/README.md.
Русская документация здесь docs/guide-ru/README.md.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require execut/yii2-navigation
or add
"execut/yii2-navigation": "dev-master"
to the require section of your composer.json
file.
Usage
For example, the following few lines of code in a view file would render a common attributes of active page:
// head echo \execut\navigation\widgets\Title::widget(); // body echo \execut\navigation\widgets\Breadcrumbs::widget(); echo \execut\navigation\widgets\Header::widget(); echo \execut\navigation\widgets\Text::widget(); echo \execut\navigation\widgets\Time::widget();