Home
Projects
Resources
Alternatives
Blog
Sign In
Stringy Versions
Save
A PHP string manipulation library with multibyte support
Overview
Versions
Reviews
Resources
1.10.0
8 years ago
Added trimLeft, trimRight
Added support for unicode whitespace to trim
Added delimit
Added indexOf and indexOfLast
Added htmlEncode and htmlDecode
Added "Ç" in toAscii()
1.9.0
9 years ago
Added hasUpperCase and hasLowerCase
Added $removeUnsupported parameter to toAscii()
Improved toAscii support with additional Unicode spaces, Vietnamese chars, and numerous other characters
Separated the charsArray from toAscii as a protected method that may be extended by inheriting classes
Chars array is cached for better performance
1.8.1
9 years ago
Optimized chars()
Added "ä Ä Ö Ü"" in toAscii()
Added support for Unicode spaces in toAscii()
Replaced instances of self::create() with static::create()
Added missing test cases for safeTruncate() and longestCommonSuffix()
Updated Stringy\create() to avoid collision when it already exists
1.8.0
9 years ago
Listed ext-mbstring in composer.json
Added Stringy\create function for PHP 5.6
1.7.0
9 years ago
Added containsAll and containsAny
Light cleanup
1.6.0
9 years ago
Added toTitleCase
1.5.2
9 years ago
Announced support for HHVM
1.5.1
10 years ago
Fixed toAscii() failing to remove remaining non-ascii characters
Updated slugify() to treat dash and underscore as delimiters by default
Updated slugify() to remove leading and trailing delimiter, if present
1.5.0
10 years ago
Made both str and encoding protected, giving property access to subclasses
Added getEncoding()
Fixed isJSON() giving false negatives
Cleaned up and simplified: replace(), collapseWhitespace(), underscored(), dasherize(), pad(), padLeft(), padRight() and padBoth()
Fixed handling consecutive invalid chars in slugify()
Removed conflicting hard sign transliteration in toAscii()
1.4.0
10 years ago
Implemented the IteratorAggregate interface, added chars()
Renamed count() to countSubstr()
Updated count() to implement Countable interface
Implemented the ArrayAccess interface with positive and negative indices
Switched from PSR-0 to PSR-4 autoloading
« Previous
Next »
Home
Projects
Resources
Alternatives
Blog
Sign In
Sign In to OSA
I agree with
Terms of Service
and
Privacy Policy
Sign In with Github