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

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

maxodrom/yii2-seo
=================

Yii2 SEO compoments

1.1.2(7y ago)061MITPHP

Since Jun 6Pushed 7y ago1 watchersCompare

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

READMEChangelogDependencies (9)Versions (5)Used By (0)

Yii2 SEO components
===================

[](#yii2-seo-components)

Yii2 SEO components is a package with some useful classes which are provided with frequently used methods to work with and processing SEO texts.

[![SEO image](./seoimage.png)](./seoimage.png)

[Русская документация](docs/README.ru.md)

SeoText class
-------------

[](#seotext-class)

Provides useful methods for source text processing and gathering statistical info about processed text.

```
use maxodrom\yii2seo\components\SeoText;

// instantiate new SeoText object
$seoText = new SeoText($model->textField);

// get total words in our text
$totalWords =  $seoText->getWordsCount();

// get total characters count (including different spaces chars)
$totalCharacters = $seoText->getTotalCharactersCount();

// get only word's characters count
$wordCharacters = $seoText->getCharactersCount();

// get all spaces count
$totalSpaces = $seoText->getSpacesCount();
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity66

Established project with proven stability

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 ~0 days

Total

4

Last Release

2897d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9c79da7402e9376230130c590d274bfe4ffbe27e65c3584df4318bab3504371b?d=identicon)[mercium](/maintainers/mercium)

---

Tags

yii2seo

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[umanskyi31/opengraph

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

119.7k](/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.5k](/packages/daxslab-yii2-taggedview)[demi/seo

Library for working with SEO parameters of models

131.6k](/packages/demi-seo)[amirax/yii2-seo-tools

SEO tools for Yii 2 framework

131.1k](/packages/amirax-yii2-seo-tools)

PHPackages © 2026

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