orige / yii2-schema-breadcrumbs
Use schema.org breadcrumbs structure on your Yii2 projects
1.0.0
2016-09-05 18:49 UTC
Requires
- yiisoft/yii2: ^2.0
This package is not auto-updated.
Last update: 2024-04-08 11:46:58 UTC
README
Use data structured breadcrumbs from schema.org on yii2 projects.
How to install
$ composer require orige/yii2-schema-breadcrumbs
How to use
use SchemaBreadcrumbs\SchemaBreadcrumbs as Breadcrumbs Breadcrumbs::widget([ 'links' => $links, ]);
You don't have to specify any data structure property inside the Breadcrumbs
object. It will work automatically.
Documentation
This widget should be work as good as the yii2 official. So, I won't copy/paste their documentation.
To see how you can work with breadcrumbs in a yii2 project, click here
TODO
- tests
- comment the code
- improve documentation with examples