igogo5yo / yii2-seo-link-pager
LinkPager with SEO optimization for Yii Framework 2
Installs: 2 360
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 2
Forks: 6
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: ~2.0.13
This package is not auto-updated.
Last update: 2024-10-26 19:53:38 UTC
README
Yii2 link pager with SEO optimization
Please submit issue reports and pull requests to the main repository. For license information check the LICENSE-file.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist igogo5yo/yii2-seo-link-pager
or add
"igogo5yo/yii2-seo-link-pager": ">=1.0"
to your composer.json
file
Example
... 'pager' => [ 'class' => igogo5yo\seolinkpager\SeoLinkPager::className(), 'prevOptions' => ['rel' => 'prev'], 'nextOptions' => ['rel' => 'next'] ], ...