NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2438 most downloaded on Packagist
Yii Strings Helper
Latest stable
2.8.0
Last release 23 days ago
30 Oct 2026
Release timing varies
gaps range from 3 weeks to 1.5 years
Nearly every release is documented
notes for 16 of 16 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
16 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
New #156: Add NumericHelper::trimDecimalZeros() (@samdark, @vjik)
NumericHelper::trimDecimalZeros() (@samdark, @vjik)StringHelper::truncateWordsByLength() (@vjik)StringHelper::startsWithIgnoringCase() and StringHelper::endsWithIgnoringCase() (@vjik)New #148, #149: Add NumericHelper::convertHumanReadableSizeToBytes() method (@mspirkov)
NumericHelper::convertHumanReadableSizeToBytes() method (@mspirkov)StringHelper::truncateWordsByLength() method to truncate text by character length while preserving word
boundaries (@samdark)Your coding agent can read these notes before it upgrades. Set up the MCP server →
Chg #140: Bump minimal required PHP version to 8.1 and minor refactoring (@vjik)
composer.json to ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 (@vjik)StringHelper::parsePath() for empty string returns path [''] instead of [] before (@vjik)StringHelper methods: trim(), ltrim() and rtrim() (@vjik)New #137: Add StringHelper::matchAnyRegex() method as a facade for CombinedRegexp (@vjik)
StringHelper::matchAnyRegex() method as a facade for CombinedRegexp (@vjik)StringHelper::base64UrlEncode() method (@vjik)New #118: Add findBetween(), findBetweenFirst() and findBetweenLast() methods to StringHelper to retrieve a substring that lies between two strings (@
findBetween(), findBetweenFirst() and findBetweenLast() methods to StringHelper to retrieve
a substring that lies between two strings (@salehhashemi1992)StringHelper::parsePath() (@viktorprogger)Enh #117: WildcardPatters uses memoization and accelerates ~2 times on repeated calls (@viktorprogger)
WildcardPatters uses memoization and accelerates ~2 times on repeated calls (@viktorprogger)Enh #114: Add stringable object support to NumericHelper::normalize() (@vjik)
NumericHelper::normalize() (@vjik)New #102, #106: Add CombinedRegexp class (@xepozz, @vjik)
CombinedRegexp class (@xepozz, @vjik)MemoizedCombinedRegexp decorator that caches results of CombinedRegexp (@xepozz)StringHelper::trim(), StringHelper::ltrim(), StringHelper::rtrim() (@olegbaturin)^8.0 (@xepozz)$strict parameter to Inflector::toSnakeCase() method (@arogachev)Bug #105: Fix incorrect split UTF-8 strings in StringHelper::split() method (@vjik)
StringHelper::split() method (@vjik)Enh #85: Improve StringHelper::parsePath() method annotation (@vjik)
StringHelper::parsePath() method annotation (@vjik)New #75: Add method Inflector::toSnakeCase() that convert word to "snake_case" (@soodssr)
Inflector::toSnakeCase() that convert word to "snake_case" (@soodssr)StringHelper::parsePath() method (@arogachev, @vjik)Chg #67: Remove \Yiisoft\Strings\WildcardPattern::withoutEscape() (@samdark)
\Yiisoft\Strings\WildcardPattern::withoutEscape() (@samdark)\Yiisoft\Strings\WildcardPattern::withExactLeadingPeriod() (@samdark)**, match anything including /, to \Yiisoft\Strings\WildcardPattern, remove withExactSlashes() and withEnding() (@samdark)* (@samdark)\Yiisoft\Strings\WildcardPattern::isDynamic() (@samdark)\Yiisoft\Strings\WildcardPattern::quote() (@samdark)Enh #62: Add method StringHelper::split() that split a string to array with non-empty lines (@vjik)
StringHelper::split() that split a string to array with non-empty lines (@vjik)NumericHelper::isInteger() that checks whether the given string is an integer number (@vjik)NumericHelper::normalize() (@vjik)Enh #52: Allow turning off options in WildcardPattern (@vjik)
WildcardPattern (@vjik)withEnding() to WildcardPattern for match ending of testing string (@vjik)NumericHelper::toOrdinal() throws an error for numbers with fractional part (@vjik)Enh #40: Use str_starts_with() and str_ends_with() if available (@viktorprogger)
str_starts_with() and str_ends_with() if available (@viktorprogger)NumericHelper::normalize() throws an error for float or int values in PHP 8 (@vjik)- Initial release.
One column per quarter.