voku/stringy
A string manipulation library with multibyte support
7.0.1
4.0M downloads/mo
#3772 most downloaded on Packagist
voku/Stringy
What this package is like to depend on
Last release 4 months ago
24 Apr 2026
Ships unpredictably
gaps range from 9 days to 4.1 years
Some releases are documented
notes for 52 of 95 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
96 releases · first in 2013
2 releases in the last 12 months
see the full history below
Release timeline
96 releases · Jul 2013 to Apr 2026Releases
latest 60 of 96-
7.0.124 Apr 2026Release notes
Open source →- fix: improve Composer distribution archive metadata by excluding dev-only files from release archives
-
7.0.022 Apr 2026Release notes
Open source →- fix: clean up Composer distribution archive (add missing .gitattributes export-ignore entries for dev-only files)
- fix "camelize()" + "upperCamelize()" for all-caps input such as "FOO BAR" and "API2URL"
- fix PHP 8.4 compatibility / deprecation warnings
- add proper return types and optimized nullable phpdocs for better PHP / PHPStan compatibility
- add PHP 8.1+ compatibility shim for
JsonSerializable::jsonSerialize()return type (JsonSerializableReturnTypeTrait) - improve "collection()" handling for single strings, Stringy objects, and "null"; preserve keys in "CollectionStringy::createFromStrings()"
- improve edge-case handling for "appendRandomString()", "at()", "offsetGet()", "lineWrap()", "lineWrapAfterWord()", and truncation-related methods
- update vendor lib "voku/portable-utf8" to "~6.1.0"
- modernize GitHub Actions / PHPUnit configuration and add dependency automation via Dependabot + Renovate
- support PHP 7.1+
-
6.5.328 Mar 2022Release notes
Open source →- "To people of Russia": There is a war in Ukraine right now. The forces of the Russian Federation are attacking civilians.
- use optimized phpdocs for phpstan
-
6.5.230 Jan 2022 -
6.5.130 Jan 2022 -
6.5.006 Jan 2022Release notes
Open source →- add "extractIntegers()"
- add "extractSpecialCharacters()"
- add more tests
- fixed some "mixed" phpdocs
-
6.4.421 Dec 2021 -
6.4.315 Dec 2021 -
6.4.208 Dec 2021 -
6.4.107 Apr 2021Release notes
Open source →- use GitHub Actions
- use optimized phpdocs for phpstan
- use phpdocs (generics) for collections
-
6.4.027 Sep 2020Release notes
Open source →- add "isAscii()"
- add "isBinary()"
- add "isBom()"
- add "isBinary()"
- add "isUrl()"
- add "isUtf8()"
- add "isUtf16()"
- add "isUtf32()"
-
6.3.124 May 2020 -
6.3.014 May 2020Release notes
Open source →- add "callUserFunction()"
- update vendor lib "voku/arrayy"
- move code examples into the code
- use "voku/simple-php-code-parser" for building the "README"
-
6.2.223 Feb 2020Release notes
Open source →- fix "isEqualsCaseInsensitive()" -> thanks to psalm
- update vendor lib "voku/arrayy"
-
6.2.131 Jan 2020 -
6.2.004 Jan 2020Release notes
Open source →- add "newLineToHtmlBreak()"
- update vendor lib "voku/arrayy" (support for generics via phpstan & psalm)
-
6.1.030 Dec 2019Release notes
Open source →- use "@psalm-mutation-free"
- update vendor (ASCII)
- update vendor (Arrayy)
- use CollectionStringy() (optional)
- add "nth()"
- add "isSimilar()"
- add "similarity()"
- add "isWhitespace()"
- add "wrap()"
- add "words()"
- add "format()"
- add "chunk()"
- add "isNotEmpty()"
- add "isEquals()"
- add "softWrap()"
- add "hardWrap()"
- add "before()"
- add "after()"
- add "crypt()"
- add "bcrypt()"
- add "encrypt()"
- add "decrypt()"
- add "setInternalEncoding()"
- add "encode()"
- add "isNumeric()"
- add "studlyCase()" (pascalCase)
- add "snakeCase()"
- add "kebabCase()"
- add "appendStringy()"
- add "prependStringy()"
- add "urlEncodeRaw()"
- add "urlEncode()"
- add "urlDecodeRaw()" / "urlDecodeRawMulti()"
- add "urlDecode()" / "urlDecodeMulti()"
-
6.0.217 Nov 2019 -
6.0.114 Oct 2019 -
6.0.028 Sep 2019Release notes
Open source →- breaking-change: we always use language "en" instead of "de" as default
- breaking-change: "urlify()" has changed parameter order ($strToLower was replaced with $replacements)
-
5.2.006 Sep 2019 -
5.1.121 Aug 2019Release notes
Open source →- extend "titleize" -> allow to specify what a word is
- extend "slugify" -> allow to specify replacements in the string
- optimize the regex for unicode strings
-
5.1.024 Jun 2019Release notes
Open source →- add CollectionStringy - StaticStringy::collection()
- "Implemented JsonSerializable" | thanks @ifcanduela
- "fix for the Greek letter Theta" | thanks @nikosv
-
5.0.323 Jun 2019 -
5.0.221 Apr 2019Release notes
Open source →- fix issues reported by phpstan (level 7)
- update vendor (better unicode support for regex stuff)
-
5.0.122 Jan 2019 -
5.0.011 Jan 2019Release notes
Open source →- rename "slugify()" into "urlify()"
- re-add original "slugify()" method
- rename "toAscii()" into "toTransliterate()"
- re-add toAscii "slugify()" method
- apply php-cs fixes rules
-
4.1.229 Nov 2018 -
4.1.111 Nov 2018 -
4.1.003 Sep 2018Release notes
Open source →- add "replaceFirst()" + "replaceLast()"
- optimize the performance of almost all methods
-
4.0.207 Jan 2018 -
4.0.107 Jan 2018Release notes
Open source →- set default encoding to UTF-8 (for static method calls)
-> THX @ Xdebug + KCachegrind
-
4.0.023 Dec 2017Release notes
Open source →- add Stringy->titleizeForHumans() | thx @HipsterJazzbo
- update "Portable UTF8" from v4 -> v5
-> this is a breaking change without API-changes - but the requirement from "Portable UTF8" has been changed (it no longer requires all polyfills from Symfony)
-
3.1.012 Jun 2017Nothing published for this version
-
3.0.112 Apr 2017Nothing published for this version
-
3.0.003 Dec 2017 -
2.4.002 Mar 2017Nothing published for this version
-
2.3.202 May 2016Nothing published for this version
-
2.3.121 Mar 2016Nothing published for this version
-
2.3.020 Mar 2016Nothing published for this version
-
2.2.3620 May 2017Nothing published for this version
-
2.2.3509 Mar 2017Nothing published for this version
-
2.2.3412 Feb 2017Nothing published for this version
-
2.2.3309 Dec 2016Nothing published for this version
-
2.2.3205 Nov 2016Nothing published for this version
-
2.2.3118 Sep 2016Nothing published for this version
-
2.2.3017 Aug 2016Nothing published for this version
-
2.2.2912 Aug 2016Nothing published for this version
-
2.2.2812 Aug 2016Nothing published for this version
-
2.2.2720 Jul 2016Nothing published for this version
-
2.2.2609 Jul 2016Nothing published for this version
-
2.2.2513 Jun 2016Nothing published for this version
-
2.2.2413 Jun 2016Nothing published for this version
-
2.2.2313 Jun 2016Nothing published for this version
-
2.2.2213 Jun 2016Nothing published for this version
-
2.2.2113 Jun 2016Nothing published for this version
-
2.2.2013 Jun 2016Nothing published for this version
-
2.2.1913 Jun 2016Nothing published for this version
-
2.2.1803 Jun 2016Nothing published for this version
-
2.2.1703 Jun 2016Nothing published for this version