Stringy Versions Save

A PHP string manipulation library with multibyte support

3.1.0

6 years ago
  • Add $language support to slugify
  • Add bg specific transliteration
  • ЬЪ/ьъ handling is now language-specific

3.0.1

7 years ago
  • Don't replace @ in toAscii
  • Use normal replacement for @ in slugify, e.g. user@home => user-home

3.0.0

7 years ago
  • Breaking change: added $language parameter to toAscii, before $removeUnsupported
  • Breaking change: dropped PHP 5.3 support
  • Breaking change: any StaticStringy methods that previously returned instances of Stringy now return strings

2.4.0

7 years ago
  • Add startsWithAny
  • Add endsWithAny
  • Add stripWhitespace
  • Fix error handling for unsupported encodings
  • Change private methods to protected for extending class
  • Fix safeTruncate for strings without spaces
  • Additional char support in toAscii, e.g. full width chars and wide non-breaking space

2.3.2

8 years ago
  • Improve support without mbstring

2.3.1

8 years ago
  • Always use root namespace for mbstring functions

2.3.0

8 years ago
  • Add Persian characters in Stringy::charsArray()
  • Use symfony/polyfill-mbstring to avoid dependency on ext-mbstring

2.2.0

8 years ago
  • isJSON now returns false for empty strings
  • Update for German umlaut transformation
  • Use reflection to generate method list for StaticStringy
  • Added isBase64 method
  • Improved toAscii char coverage

2.1.0

8 years ago
  • Added simplified StaticStringy class
  • str in Stringy::create and constructor is now optional

2.0.0

8 years ago
  • Removed StaticStringy class
  • Added append, prepend, toBoolean, repeat, between, slice, split, and lines
  • camelize/upperCamelize now strip leading dashes and underscores
  • titleize converts to lowercase, thus no longer preserving acronyms