PHPackages                             hyperia/yii2-string-helpers - 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. hyperia/yii2-string-helpers

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

hyperia/yii2-string-helpers
===========================

String helpers for your Yii2 app

1.0.4(5y ago)29.6k↓50%1[1 PRs](https://github.com/hyperia-sk/yii2-string-helpers/pulls)MITPHP

Since Jul 9Pushed 2y ago1 watchersCompare

[ Source](https://github.com/hyperia-sk/yii2-string-helpers)[ Packagist](https://packagist.org/packages/hyperia/yii2-string-helpers)[ RSS](/packages/hyperia-yii2-string-helpers/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (8)Used By (0)

Yii2 string helpers
===================

[](#yii2-string-helpers)

[![GitHub license](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://raw.githubusercontent.com/hyperia-sk/yii2-string-helpers/master/LICENSE)

> Extension for Yii2 string helpers

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

[](#installation)

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

Either run

```
composer require hyperia/yii2-string-helpers:"^1.0"
```

or add

```
"hyperia/yii2-string-helpers": "^1.0"

```

to the require section of your composer.json.

Available Methods
-----------------

[](#available-methods)

- contains
- isLonger
- isShorter
- length
- toLower
- toUpper
- firstCharToUpper
- removeAccent

Usage
-----

[](#usage)

```
use hyperia\helpers\StringHelper;

echo StringHelper::isLonger('This is test string', 12); // 1
echo StrinhHelper::removeAccent('Ħí ŧħə®ë, юßť å test!'); // Hi there, jusst a test!
echo StringHelper::contains('is', 'This is test string'); // 1
```

Tests
-----

[](#tests)

```
./vendor/bin/phpunit

```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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 ~303 days

Total

5

Last Release

2013d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e1e82cda3aa17892f259c23e39677d036f160ca33672df962fd374a8595ec053?d=identicon)[hyperia-sk](/maintainers/hyperia-sk)

---

Top Contributors

[![karster](https://avatars.githubusercontent.com/u/17579408?v=4)](https://github.com/karster "karster (2 commits)")[![arzzen](https://avatars.githubusercontent.com/u/6382002?v=4)](https://github.com/arzzen "arzzen (1 commits)")

---

Tags

helpersstring-helperstring-manipulationstringsyii2yii2-extensionhelpersyii2extension

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hyperia-yii2-string-helpers/health.svg)

```
[![Health](https://phpackages.com/badges/hyperia-yii2-string-helpers/health.svg)](https://phpackages.com/packages/hyperia-yii2-string-helpers)
```

###  Alternatives

[avator/yii2-turbosms

Yii2 turbosms

1030.5k](/packages/avator-yii2-turbosms)[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1452.6k](/packages/dmstr-yii2-cookie-consent)[yiier/yii2-helpers

Helpers for Yii2

116.6k2](/packages/yiier-yii2-helpers)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1357.2k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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