2017 © Pedro Peláez
 

yii2-extension yii2-breadcrumbs

yii2 breadcrumbs Schema.org support

image

2fox/yii2-breadcrumbs

yii2 breadcrumbs Schema.org support

  • Saturday, September 23, 2017
  • by 2fox
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Yii2 Breadcrumbs with microdata (schema.org)

https://schema.org/BreadcrumbList, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist 2fox/yii2-breadcrumbs "*"

or add, (*4)

"2fox/yii2-breadcrumbs": "*"

to the require section of your composer.json file., (*5)

Usage

use twofox\breadcrumbs\Breadcrumbs;

echo Breadcrumbs::widget([
    'links' => [
        [
            'label' => 'Home',
            'url'   => ['/']
        ],
        [
            'label' => 'Contact',
            'url'   => ['/site/contact']
        ],
    ],
]);

or, (*6)

use twofox\breadcrumbs\Breadcrumbs;

echo Breadcrumbs::widget([
    'links' => $this->params['breadcrumbs'],
]);

result

````html, (*7)

  1. Dresses
  2. Real Dresses

```, (*8)

The Versions

23/09 2017

dev-master

9999999-dev

yii2 breadcrumbs Schema.org support

  Sources   Download

MIT

The Requires

 

by Dmytro Gural

extension yii2 pager scroll infinite endless autopagerize