PHPackages                             grptx/yii2-seo-tags - 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. grptx/yii2-seo-tags

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

grptx/yii2-seo-tags
===================

Yii2 Component to render some seo tags

v1.1.0(8y ago)0115MITPHP

Since Nov 22Pushed 8y ago1 watchersCompare

[ Source](https://github.com/grptx/yii2-seo-tags)[ Packagist](https://packagist.org/packages/grptx/yii2-seo-tags)[ RSS](/packages/grptx-yii2-seo-tags/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)Dependencies (1)Versions (7)Used By (0)

yii2-seo-tags
=============

[](#yii2-seo-tags)

[![Latest Stable Version](https://camo.githubusercontent.com/13c5114121bf13839b3250071b9badb37980dea56195bc4554def8fad7b89a18/68747470733a2f2f706f7365722e707567782e6f72672f67727074782f796969322d73656f2d746167732f762f737461626c65)](https://packagist.org/packages/grptx/yii2-seo-tags)[![Total Downloads](https://camo.githubusercontent.com/de7a0cb5f50808a62684dc1bde04206cf808f7b1a56615ef83baaf146f46bcf7/68747470733a2f2f706f7365722e707567782e6f72672f67727074782f796969322d73656f2d746167732f646f776e6c6f616473)](https://packagist.org/packages/grptx/yii2-seo-tags)[![Latest Unstable Version](https://camo.githubusercontent.com/78a25e9b1035d90e27a57b57ec357074820791d9fed52ed1704ca64803777a01/68747470733a2f2f706f7365722e707567782e6f72672f67727074782f796969322d73656f2d746167732f762f756e737461626c65)](https://packagist.org/packages/grptx/yii2-seo-tags)[![License](https://camo.githubusercontent.com/2b13dc3a6db7e217c7c8da1e96aa4eeeb0abe0ea83dce813303845bbb9a74a6d/68747470733a2f2f706f7365722e707567782e6f72672f67727074782f796969322d73656f2d746167732f6c6963656e7365)](https://packagist.org/packages/grptx/yii2-seo-tags)

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

[](#installation)

Preferred way to install is through [Composer](https://getcomposer.org):

```
php composer.phar require grptx/yii2-seo-tags:~1.0
```

Or, you may add

```
"grptx/yii2-seo-tags": "~1.0"
```

to the require section of your `composer.json` file and execute `php composer.phar update`.

Configuration
-------------

[](#configuration)

```
...
'components' => [
    'seotag' => [
        'class' => 'grptx\SEO\SeoTag',
        // you can add some global tag here (optional)
        'metas'=>[
            'twitter'=>[
                'twitter:creator'=>'@grptx'
                // ...
            ]
            // ...
        ]
    ]
...
]
```

Usage
-----

[](#usage)

```
/** @var \grptx\SEO\SeoTag $seotag */
$seotag = Yii::$app->seotag;
$seotag->setAndRender([
   'facebook' => [
           'og:title' => ''
        // ...
   ],
   'twitter' => [
        // ...
   ],
   'site' => [
        // ...
   ]
]);
```

Available Tags
--------------

[](#available-tags)

### Facebook Open Graph

[](#facebook-open-graph)

- og:locale
- og:type
- og:title
- og:description
- og:url
- og:site\_name
- og:updated\_time
- og:image
- og:image:secure\_url
- og:image:width
- og:image:height
- og:image:alt
- fb:app\_id

### Twitter Card

[](#twitter-card)

- twitter:card
- twitter:creator
- twitter:site
- twitter:title
- twitter:description
- twitter:image
- twitter:image:alt
- twitter:player
- twitter:player:stream
- twitter:player:stream:content\_type
- twitter:player:width
- twitter:player:height
- twitter:app:id:iphone
- twitter:app:id:ipad
- twitter:app:id:googleplay
- twitter:app:url:iphone
- twitter:app:url:ipad
- twitter:app:country
- twitter:app:url:googleplay

### Site

[](#site)

- description

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~14 days

Total

6

Last Release

3071d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c0ba72929c09500c5f5a0394da48fec616a8cf97bffe3c29a9f9e21dc6a93e6e?d=identicon)[grptx](/maintainers/grptx)

---

Top Contributors

[![grptx](https://avatars.githubusercontent.com/u/6595328?v=4)](https://github.com/grptx "grptx (18 commits)")

---

Tags

yii2seoyii2-components

### Embed Badge

![Health badge](/badges/grptx-yii2-seo-tags/health.svg)

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

###  Alternatives

[v0lume/yii2-meta-tags

DB based model meta data for SEO

194.1k](/packages/v0lume-yii2-meta-tags)[umanskyi31/opengraph

Created a new component for Yii2. The Open Graph component for your website

119.8k](/packages/umanskyi31-opengraph)[daxslab/yii2-taggedview

Extension to help setup the standard HTML meta tags besides the ones defined by Opengraph and Twitter to contribute to website SEO

114.7k1](/packages/daxslab-yii2-taggedview)

PHPackages © 2026

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