diff --git a/CHANGELOG.md b/CHANGELOG.md index 41cc3c9..b0c2568 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +### 2.3.0 (2015-03-19) + +* Add Persian characters in Stringy::charsArray() +* Use symfony/polyfill-mbstring to avoid dependency on ext-mbstring + ### 2.2.0 (2015-12-20) * isJSON now returns false for empty strings diff --git a/README.md b/README.md index 80570c2..6c99c66 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ in your composer.json file: ```json "require": { - "danielstjules/stringy": "~2.2" + "danielstjules/stringy": "~2.3" } ``` @@ -154,11 +154,13 @@ And in either case, I'd suggest using an alias. use Stringy\Stringy as S; ``` -Please note that Stringy relies on the `mbstring` PHP module for its underlying -multibyte support. This is a non-default, but very common module. For example, -with debian and ubuntu, it's included in libapache2-mod-php5, php5-cli, and -php5-fpm. For OSX users, it's a default for any version of PHP installed with -homebrew. If compiling PHP from scratch, it can be included with the +Please note that Stringy relies on the `mbstring` module for its underlying +multibyte support. If the module is not found, Stringy will use +[symfony/polyfill-mbstring](https://github.com/symfony/polyfill-mbstring). +ex-mbstring is a non-default, but very common module. For example, with debian +and ubuntu, it's included in libapache2-mod-php5, php5-cli, and php5-fpm. For +OSX users, it's a default for any version of PHP installed with homebrew. +If compiling PHP from scratch, it can be included with the `--enable-mbstring` flag. ## OO and Chaining