PHPackages                             warsztatweb/yii2-seo-helper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. warsztatweb/yii2-seo-helper

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

warsztatweb/yii2-seo-helper
===========================

Set SEO variables (Title, Description etc) from every model;

06PHP

Since Sep 7Pushed 8y ago1 watchersCompare

[ Source](https://github.com/spike2k/yii2-seo-helper)[ Packagist](https://packagist.org/packages/warsztatweb/yii2-seo-helper)[ RSS](/packages/warsztatweb-yii2-seo-helper/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 SEO Helper
===============

[](#yii2-seo-helper)

Set SEO variables (Title, Description etc) from every model;

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist warsztatweb/yii2-seo-helper "*"

```

or add

```
"warsztatweb/yii2-seo-helper": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by:

Attach the component in your config file:

```
'components' => [
    'seo' => [
        'class' => 'warsztatweb\seo\Helper',
    ],
],
```

Using
-----

[](#using)

### Set SEO data

[](#set-seo-data)

```
echo Yii::$app->seo->set($model);
```

$model should have these attributes to work properly:

meta\_title meta\_description meta\_keywords h1 params\[\] eg: params\["og:image"\]

Module can handla other columns like title,name,nazwa,tytul,tyt for meta\_title; columns like lead, description, desc, html for meta\_description. It looks for column named baner, banner, thumb, image for automaticlay generated og:image property.

og tags are generated automaticaly based on meta\_title, meta\_desription

### SEO Meta based on route

[](#seo-meta-based-on-route)

//todo

### SEO Redirect

[](#seo-redirect)

For enabling SEO Redirect add to configuration file

```
'errorHandler' => [
    'class' => 'warsztatweb\seo\Redirect',
],
```

Based on Amirax SEO Tools for Yii 2

###  Health Score

20

—

LowBetter than 12% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6337922?v=4)[Marcin](/maintainers/spike2k)[@spike2k](https://github.com/spike2k)

---

Top Contributors

[![spike2k](https://avatars.githubusercontent.com/u/6337922?v=4)](https://github.com/spike2k "spike2k (5 commits)")

### Embed Badge

![Health badge](/badges/warsztatweb-yii2-seo-helper/health.svg)

```
[![Health](https://phpackages.com/badges/warsztatweb-yii2-seo-helper/health.svg)](https://phpackages.com/packages/warsztatweb-yii2-seo-helper)
```

###  Alternatives

[backpack/settings

Application settings interface for Laravel 5 using Backpack CRUD.

296925.9k10](/packages/backpack-settings)[abbotton/dcat-sku-plus

基于Dcat Admin的SKU扩展增强版

532.3k](/packages/abbotton-dcat-sku-plus)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
