PHPackages                             wolverineo250kr/yii2-pevnev-text-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. wolverineo250kr/yii2-pevnev-text-helper

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

wolverineo250kr/yii2-pevnev-text-helper
=======================================

Text helper based on Yii2 framework

v1.0.40(6y ago)081MITPHPPHP &gt;=7.0.0

Since Jan 13Pushed 6y ago1 watchersCompare

[ Source](https://github.com/wolverineo250kr/yii2-pevnev-text-helper)[ Packagist](https://packagist.org/packages/wolverineo250kr/yii2-pevnev-text-helper)[ RSS](/packages/wolverineo250kr-yii2-pevnev-text-helper/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (6)Dependencies (1)Versions (10)Used By (1)

yii2-pevnev-text-helper
=======================

[](#yii2-pevnev-text-helper)

Install
-------

[](#install)

**composer require "wolverineo250kr/yii2-pevnev-text-helper":"\*"**Usage
-----

[](#usage)

To cut string to required length call in your Yii2 app following php command with following params:

**$string** - type sting. Text to cut (required).
**$length** - type integer. Length for a string. (required)
**$postfix** - type sting. Postfix to put in the end if string.
**$encoding** - type sting. Encode. Default UTF-8.

```
\wolverineo250kr\helpers\text\TextHelper::cut($string, $length, $postfix, $encoding);
```

----------------------------------------------------------------------

To convert string call in your Yii2 app following php command with following params:

**$string** - type sting. Text to cut (required).
**$replacement** - type sting. Character to replace all spaces. (Default '-')
**$lowercase** - type boolean. Whether to return the string in lowercase or not. Defaults to true.

```
\wolverineo250kr\helpers\text\TextHelper::slug($string, $replacement, $lowercase);
```

----------------------------------------------------------------------

To transliterate string call in your Yii2 app following php command with following params:

**$string** - type sting. Text to cut (required).
**$languageFrom** - type sting. Language in. (Default 'EN')
**$languageTo** - type boolean. Language out. (Default 'RU')

Language directions available:
en -&gt; ru
ru -&gt; en

```
\wolverineo250kr\helpers\text\TextHelper::puntoSwitcher($string, $languageFrom, $languageTo);
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

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.

###  Release Activity

Cadence

Every ~1 days

Total

9

Last Release

2301d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0394e0af2eb544d1d88d8fc57450f69da27de0d08a3ad372b0ffc5a771a92039?d=identicon)[wolverineo250kr](/maintainers/wolverineo250kr)

---

Top Contributors

[![wolverineo250kr](https://avatars.githubusercontent.com/u/21976597?v=4)](https://github.com/wolverineo250kr "wolverineo250kr (15 commits)")

---

Tags

moduleyii

### Embed Badge

![Health badge](/badges/wolverineo250kr-yii2-pevnev-text-helper/health.svg)

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

###  Alternatives

[rmrevin/yii2-comments

Comments module for Yii2

5130.8k](/packages/rmrevin-yii2-comments)[brussens/yii2-maintenance-mode

Maintenance mode component for Yii framework 2.x.x version.

78256.3k5](/packages/brussens-yii2-maintenance-mode)

PHPackages © 2026

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