vumanskyi / yii2-seo-breadcrumbs
Created a widget for Yii2. This is SeoBreadcrumbs widget which can help your website to set the correct scheme for breadcrumbs
Installs: 20
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=7.1
- yiisoft/yii2: ~2.0.14
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.0
- phpunit/phpunit: ~7.1
- scrutinizer/ocular: ~1.1
This package is auto-updated.
Last update: 2024-12-22 02:13:18 UTC
README
Yii2.x Seo Breadcrumbs
Created a widget for Yii2. This is SeoBreadcrumbs widget which can help your website to set the correct scheme for breadcrumbs
Installation
composer require vumanskyi/yii2-seo-breadcrumbs
How to use
In view file :
<?php $this->params['breadcrumbs'][] = [ 'label' => 'Home', 'url' => '/' ]; $this->params['breadcrumbs'][] = [ 'label' => 'Second', 'url' => '/second' ]; $this->params['breadcrumbs'][] = [ 'label' => 'Last', ]; echo \VUmanskyi\SeoBreadcrumbs\SeoBreadcrumbs::widget([ 'links' => $this->params['breadcrumbs'], ]);