NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #2877 most downloaded on Packagist
Yii Strings Helper
Last release 10 months ago
23 Nov 2025
Release timing varies
gaps range from 3 weeks to 1.5 years
Nearly every release is documented
notes for 15 of 15 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
15 releases · first in 2020
One column per quarter.
New #148 , #149 : Add NumericHelper::convertHumanReadableSizeToBytes() method ( @mspirkov )
NumericHelper::convertHumanReadableSizeToBytes() method (@mspirkov)StringHelper::truncateWordsByLength() method to truncate text by character length while preserving wordChg #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 )
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 retrieveStringHelper::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 )
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 )
Enh #85 : Improve 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.
Your coding agent can read these notes before it upgrades. Set up the MCP server →