1
0
mirror of https://github.com/danielstjules/Stringy.git synced 2025-08-13 16:53:59 +02:00
This commit is contained in:
Daniel St. Jules
2016-03-19 17:33:13 -07:00
parent 87c1a47355
commit 5554477962
2 changed files with 13 additions and 6 deletions

View File

@@ -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) ### 2.2.0 (2015-12-20)
* isJSON now returns false for empty strings * isJSON now returns false for empty strings

View File

@@ -131,7 +131,7 @@ in your composer.json file:
```json ```json
"require": { "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; use Stringy\Stringy as S;
``` ```
Please note that Stringy relies on the `mbstring` PHP module for its underlying Please note that Stringy relies on the `mbstring` module for its underlying
multibyte support. This is a non-default, but very common module. For example, multibyte support. If the module is not found, Stringy will use
with debian and ubuntu, it's included in libapache2-mod-php5, php5-cli, and [symfony/polyfill-mbstring](https://github.com/symfony/polyfill-mbstring).
php5-fpm. For OSX users, it's a default for any version of PHP installed with ex-mbstring is a non-default, but very common module. For example, with debian
homebrew. If compiling PHP from scratch, it can be included with the 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. `--enable-mbstring` flag.
## OO and Chaining ## OO and Chaining