acodemia/str

Class to manipulate string like case changing,encoding changing, getting substrings, text generate, regular expressions match and so on. Using mbstring extension.


Keywords
text, utf8, utf-8, encoding, string, lowercase, regular expression, mbstring, str, regexp, characters, uppercase, titlecase, substring, text preview, chars
License
Unlicense

Documentation

Build Status Test Coverage

Str

Str is PHP class to manipulate with strings.

From author

I'll glad to see pull requests and feedback or issues from you!

Installation via Composer

composer require str/str

Usage

echo Str(' name ')->toUpperCase()
                  ->trimSpaces();
//output: NAME

Documentation